WML and J2ME
hi,
I have a WML page and have a midlet.
Using the file connection API, i will request for the WML to my server.
My midlet will get the WML response.
But, the output of the WML should be reflected on my MIDLET, without the mobile browser.
Have anyone tried this. Please help me out.
with regards,
Shirish.
# 1
Hi Shirish,
I am working wap web page creation...I dont know much about wap..
Can you plz tell..
How to write wml code...........
After writing it where i have to compile it..........
I want to put this wap weppage in webserver......and retrive it from mobil browser.........Is it possible.......
If you have sample code can you plz send.......
Pls clarify this doubts.
Regards,
madhavan_ora@yahoo.com
# 2
WML and J2ME are not directly related.
1) If you want to download a WML page in your midlet you will need to use a HTTP connection. The downloaded WML markup can be displayed or processed in your midlet. To render the WML, you will need to write a parser and the rendering components.
If you need to extract information from the WML document, I would suggest not using WML at all and starting with an XML document, tailored for your use.
If you do not need to extract information from the WML document, consider using a PlatformRequest to launch the browser and render the WML document.
2) You can host and create WML page similar to the methods you would use to create and host a HTML page. There are tools to help you author the pages, and emulators to help test your pages.
I would suggest starting with one of the phone manufacturers developer groups, i.e. sony ericsson or Nokia. You can find support and tools on their sites.