How to get MIDlet to load up a URL in WAP browser?
Understand that WAP broswer in some J2ME-enabled phones is able to detect download of MIDlet's descriptor (.jad) and load up the MIDlet (.jar) by invoking the phone's application manager (JAM) or MIDP runtime accordingly.
Wondering if any API in MIDP (presently or to be introduced in near future) that allows MIDlet to load up a given URL in the WAP browser.
In web browser, we can get an applet to load up a URL in web browser with:-
getAppletContext().showDocument(new URL("http://foo.com/whatever/blah.doc"))
What about getting MIDlet to load up a URL in WAP browser?
Best regards >> KC
[663 byte] By [
timnkc] at [2007-9-26 11:09:45]

Unfortunely there isnt any real solution yet. Due to security concerns, the current Suns CLDC/MIDP doesnt allow MIDlet to load a URL in WAP browser, nor to load up MIDP-WAP browser dynamically from separate JAR file.
Philippe and Franck recommended script-programmable browser Wapaka by Digital Airways. Wapaka is a breakthrough since it allows browser to load up and run your Java program. While Wapaka is running on Jbeds CLDC/MIDP, it might not run on mobile phone that doesnt come with Jbeds CLDC/MIDP.
4thpasss KBrowser is another well-designed MIDP-WAP browser that supports dynamic downloads and installs of Java application. Compatibility of KBrowser with most CLDC/MIDP mobile phones is doubtful, however.
One workaround perhaps is to incorporate WAP browsing capabilities as part of your MIDP application into a single JAR file. ReqwirelessWeb libraries for HTML rendering, or JShapes cHTML libraries for cHTML rendering would be great help to incorporate such capabilities into your application easily.
Best regards,
Kim-Chuan
KVM-INTEREST: MIDP/WAP browser interoperability
http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0111&L=kvm-interest&F=&S=&P=5208
JDC: Can a MIDlet spawn or download another MIDlet?
http://wireless.java.sun.com/midp/questions/spawn/
Digital Airways: Wapaka
http://www.wapaka.com/wapaka/AboutWapakaPDA.asp
4thpass: KBrowser - MIDP Edition
http://www.4thpass.com/kbrowser/
ReqWireless: ReqWirelessWeb API
http://www.reqwireless.com/products-web.html
JShape: CellHTML Browser
http://www.reqwireless.com/products-web.html