• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HttpConnection from the simulator

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic