This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect to Browser  RSS feed

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I like to know how to connect mobile browser using J2me?
Is there any program ?
send me link ASAP.
ALso what are the necessary settings for it ?
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2ME code runs in a sandbox on your device, so the built in browser would not be able available to J2ME, you can always visit a URL with the HttpConnection object from the ConnectionFactory. But how you would display the HTML, if that is what is returned, on the device, I'm not sure.

Mark
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try also the MIDlet.platformRequest("http:// ...")
method, though this is not guaranteed to work on all devices.
Also, there are other details you can check at the MIDlet class documentation.

Regards,
Eduardo
[ October 12, 2006: Message edited by: Eduardo Marques ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!