Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpConnection from the simulator

 
Luis Valle
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
I am using the J2ME with the Forte Community Edition, and I am testing the "Stock Quotes" program, that comes with the Wireless Toolkit. Does anybody know if it is possible to test this program completely from the simulator?. I mean, can this sample connect to "quote.yahoo.com" to receive stock quotes directly in the simulator?. I have configured the proxy host in Tools->Global Settings->System Settings (In the Forte environment), but whe I execute the stock quotes program, and try to add a new stock, I receive the message "Failed to download quote for IBM", (for example). I have the same problem with the "HttpTest" sample program that comes with the IDE. Is it possible to test this in any IDE (Motorola, Sun Wireless Toolkit)? How could I do it?
Thanks a lot!
 
Luis Valle
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To solve this, it is necessary configure (in Forte for Java):
Project->Settings->Execution types->KVM Emulator (mouse right button)->Customize->HttpProxy = www.proxy.com:8080 (i.e)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic