[Solved] Java.io.IO.Exception; there is not enough space on the disk while running J2ME application

With respect to your question, as per the given information, Java.io.IOException; there is not enough space on the disk is thrown, say if you try copying something to a destination drive, if the drive is full, you get the exception. The Java.io.IOException exceptions produced by failed or interrupted I/O operations, in this case an interupted … Read more

[Solved] Java ME help displaying calendar canvas from Nokia tutorial

…it just says it’s running in the background. I guess I’m not initializing it properly. Without seeing your code it’s hard to tell for sure but assuming that you did not introduce errors copying tutorial code, the most likely reason for the behavior like you describe is that you didn’t invoke Display.setCurrent. This would indeed … Read more

[Solved] Blackberry Version checking

There’s a better approach than you described. Use preprocessor and alx-task to build different application versions for different OS version. Then you will have one alx + set of folders with cod files, where every folder has cod files for particular platform version. Alx file will contain directives to install cod files from the suitable … Read more

[Solved] save data from servlet to recordstore in j2me

Put this function call where you show the response data alert writeToRecordStore(sb.toString().getBytes()); The function definition is as below: private static String RMS_NAME = “NETWORK-DATA-STORAGE”; private boolean writeToRecordStore(byte[] inStream) { RecordStore rs = null; try { rs = RecordStore.openRecordStore(RMS_NAME, true); if (null != rs) { //Based on your logic either ADD or SET the record rs.addRecord(inStream, … Read more

[Solved] GPS in j2me enabled mobiles

Just because a phone can run J2ME it does not mean that it’s manufacturer placed a GPS unit in it. As far as I know there are mobiles which can run Java applications but do not have a built in GPS. If you want to find the location of your phone, you can resort to … Read more