This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Thanks for reply. I have similar code. It builds fine , but when I try to send data or upload file on tomcat server through Emulator I get IOException Method not supported HttpConnection.GET
Joined: Oct 11, 2005
The code should support MIDP1.0 and CLDC1.0 profile.Though there are no specific API permission to set, you should be able to run it successfully. Below are the links to send data to tomcat server through MIDLet.I havent tried uploading file.But this works fine in emulator 2.2
startApp threw an Exception java.lang.NullPointerException java.lang.NullPointerException at httpMIDLET.getData(+162) at httpMIDLET.startApp(+8) at javax.microedition.midlet.MIDletProxy.startApp(+7) at com.sun.midp.midlet.Scheduler.schedule(+270) at com.sun.midp.main.Main.runLocalClass(+28) at com.sun.midp.main.Main.main(+116)