java-me

The Cause of InterruptedException

From J2me doc we know that: java.lang.InterruptedException Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it. The question is if it's posible to get such exception if from one thread i call Thread.Interupt() for other thread where Run() method of other thread waiting on Inp...

How to use SQLite database in JME ?

How to use SQLite dabase in JME? ...

J2ME FileConnection

Hi! How can i delete a directory (folder) that contains files or/and other folders in j2me? I know how to use fileconnection but it can not delete a folder that contains other folders or files. ...

J2ME lcdui: Can I manipulate my GUI in a worker thread?

I'm just starting with J2ME and lcdui, and I'm looking at some sample code that calls methods on lcdui objects from a worker thread. In my experience with desktop GUI toolkits, this is usually forbidden - is lcdui different? Is it really OK to do this? (I've Googled for an answer to this question but not found anything - a link to a d...

Is HTTP PUT supported in J2ME?

I just noticed a strange thing in MIDP 2.0 API: The HttpConnection class apidocs make explicit references to methods GET, POST and HEAD, but no other methods. Does this mean that they are not supported? http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/io/HttpConnection.html I also tried checking the MIDP 2.0 spec, bu...

Are there any benchmarks on J2MEPolish converting a J2ME app to Android?

J2ME Polish claims to support porting of existing J2ME applications to Android. Has anyone tested the quality of such a port. How reliable is it? ...

connecting symbian application to j2me app

Hi, is there a way to call java me application out of Symbian's C++ app? Perhaps some link? Thanks in advance. ...

Debugging in J2ME Polish

Hello i am new with J2ME polish Can any one tells that how to debug the J2ME polish MIDlet and how can i show the loges which are generated. Regards Dhaiwat ...

How do you make a dropdown list that displays images to the user instead of text?

The ObjectChoiceField field meets all my requirements but it is not pretty. This is what I have: String pets[] = {"Dog", "Cat", "Duck" }; ObjectChoiceField dd = new ObjectChoiceField("My Pet",pets,0,ObjectChoiceField.FIELD_LEFT); But I would prefer to have pictures in the dropdown. My understanding is that the object array must conta...

Voice recognition in J2ME

I'm developing a mobile application using j2me. There I need to have a speech recognition function, so that application should be able to process and act upon the commands given by the user. What I wanted to know is Is this technically possible (I'm a novice to j2me programming)? If it is possible, where can I find a j2me library for s...

J2ME Get current time zone

I have a j2me application and it needs to get the name of the current timezone and send it off to the server. However, the only format that I seem to be able to get the phone to give me is "GMT-5:00". What I want the application to do is return the timezone's name (EST, PST, etc.) I iterated over the string[] returned by TimeZone.getA...

Facebook Connect for BlackBerry

Hi I'm looking for a solution similar to the iPhone Facebook Connect (http://wiki.developers.facebook.com/index.php/Facebook%5FConnect%5Ffor%5FiPhone) for the BlackBerry platform. Basically, I need my users to authenticate against Facebook from within a native BlackBerry application (so, not a Web based mobile application). Is there a l...

How to call a .NET Webservice from J2ME using KSOAP2?

I want to access .net web service from j2me using ksoap2 or ksoap. Bt its not working. KSOAP: ` SoapObject client = new SoapObject(url, "GetRouteNames"); client.addProperty("pRegistration", "15"); HttpTransport ht = new HttpTransport(); ht.setUrl(url); ht.setSoapAction("http://t...

How to install J2ME compatible platform/emulator in NetBeans IDE 6.7.1

Hi, I'm pretty new to J2ME development scene. And for that matter, have just recently installed, JDK 6 update 16 bundled with NetBeans 6.7.1 IDE and Sun WTK 2.5.2, on Ubuntu 9.04 machine.After going through some start up tutorials and basics, from various sites, I was eager to try some hands on experience by coding some 'Hello World' ...

How to call a .NET Webservice from J2ME using KSOAP2?

I want to access .net web service from j2me using ksoap2 or ksoap. Bt its not working. KSOAP: enter code here ` SoapObject client = new SoapObject(url, "GetRouteNames"); client.addProperty("pRegistration", "15"); HttpTransport ht = new HttpTransport(); ht.setUrl(url); ht.setSoapAction("ht...

What is the escape character/sequence for properties in a JAD file

Is there a character or encoding I can do to escape a custom property in a JAD file for a J2ME application? Example: Would the extra : in this property break the Jad on some devices, and is there an escape language (like HTML encoding) that I could use to make this a valid property entry? Custom-Property-1: Nokia : 6150 / X.15 ...

How to use google protocol buffers with java me?

i have designed a protocol using google protocol buffers and now want to write a java me client. but this implementation that i have found is severely restricted. it does not allow enums, nested messages and is very basic which defeats the purpose of using it. is there an alternative implementation of protocol buffers for java-me. ...

MIDP 2.0 push registry

We would like to use MIDP2.0 push registry to invoke our MIDLet at reguler interval to check for new messages from server. If another MIDLet is already runnning in the foreground will our MIDLet be able to be invoked simultaneously? Will the behaviour vary from device to device (e.g. Nokia S-60, Motorola, Samsung, LG)? ...

Listen to pushed data in Blackberry app without help of BES

Hello, How can I listen to data pushed by the server using http connection ? I dont want to use BES server. How this can be achieved? My Blackberry Os version is 4.5. ...

How to send MMS in J2ME?

How to send MMS in J2ME? ...