Hi
I have made my app using LWUIT api and have used forms.
PRovided tutorial is for LCDUI.
Kindly tell me how and where to add relevant permission. (using Eclipse)
I am getting ClassCastException when trying.
Kindly help
Relevant code snippet:Code:Vector Ad; Label lbl; Ad = IADView.getBannerAdData(this, "Student_MemoryGame_Nokia"); Image retImg = null; if (null != Ad){ retImg = (Image) Ad.elementAt(0); } if (retImg != null){ Image.createImage(retImg); } Form mainForm= new Form("MemoryGame"); lbl.seticon(retImg); Form.addComponent(lbl);
LOGS:
Warning: setPureTouch is disabled!
no localization file: locale/locale.res. Load localization manually.
gps coordinates are invalid. Should be provided in latitude, longitude format. For example: 53.542132,-2.239856
java.lang.ClassCastException
at Main.loadUI(+27)
at Main.startApp(+35)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
null
null
null

Reply With Quote

