The moose likes Java Micro Edition and the fly likes HttpConnection from the simulator Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "HttpConnection from the simulator" Watch "HttpConnection from the simulator" New topic
Author

HttpConnection from the simulator

Luis Valle
Greenhorn

Joined: Jan 08, 2001
Posts: 13
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

Joined: Jan 08, 2001
Posts: 13
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)
 
 
subject: HttpConnection from the simulator
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com