I am trying to connect to internet through my J2ME application. I am using NetBeans 6.8. I am trying to establish an HttpConnection between my J2ME MIDP and Internet. I am not getting the webpage that i am passing as a parameter in Connector.open()
method. i.e
conn = (HttpConnection)Connector.open("www.google.com");
After running the program i cant see google in my mobile, though my application is asking me for a secure internet connection. If anyone know about Http Connection with J2ME then, please help me.
See these links. Here clearly described how to use HttpConnection with examples in J2ME.
Use the platformRequest(String URL) method. This will open the devices default browser.