944,044 Members | Top Members by Rank

Nov 5th, 2009
0

how can i show a wap site in J2ME application ???

Expand Post »
Hi
i want to show a wap website on Java ME application but i dont know how !!!
please help me to do it
thanks
Similar Threads
Reputation Points: 6
Solved Threads: 0
Junior Poster in Training
mahdi68 is offline Offline
95 posts
since Jun 2009
Nov 5th, 2009
-1
Re: how can i show a wap site in J2ME application ???
Click to Expand / Collapse  Quote originally posted by mahdi68 ...
Hi
i want to show a wap website on Java ME application but i dont know how !!!
please help me to do it
thanks
You would have to read returned document as a schema(like xml), and through rendering engine provide necessary layout and set up for each wap tag therefore creating new mobile browser and in doing so reinventing wheel which will take very-very long
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Nov 5th, 2009
-1
Re: how can i show a wap site in J2ME application ???
this is not my goal that create a browser , i want to show my wap web site on mobile application
Reputation Points: 6
Solved Threads: 0
Junior Poster in Training
mahdi68 is offline Offline
95 posts
since Jun 2009
Nov 5th, 2009
-1
Re: how can i show a wap site in J2ME application ???
Good luck to you...
As I said there are only two options
A) Use mobile browser like Opera
B) Create your own browser
C) Doesn't exist in what you trying to do....
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Nov 6th, 2009
0
Re: how can i show a wap site in J2ME application ???
i do it with platformRequest() method
Reputation Points: 6
Solved Threads: 0
Junior Poster in Training
mahdi68 is offline Offline
95 posts
since Jun 2009
Nov 6th, 2009
-1
Re: how can i show a wap site in J2ME application ???
Well you better read documentation properly because platformRequest()
Quote ...
If the platform has the appropriate capabilities and resources available, it SHOULD bring the appropriate application to the foreground and let the user interact with the content, while keeping the MIDlet suite running in the background.
Meaning if mobile device has any mobile browser that will be used
Quote ...
If the platform does not have appropriate capabilities or resources available, it MAY wait to handle the URL request until after the MIDlet suite exits.
Will do nothing if not available therefore you will not be able to handle WAP.

For the future make sure you are clear on what you trying to achieve as the above discussion prove you haven't been and just stumbled on a resource which you believed solved your problem, which in reality highlighted limitation you stand against.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Mobile Development Forum Timeline: J2ME:http post from a midlet to servlet
Next Thread in Mobile Development Forum Timeline: java midlet





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC