MIDlet is an application that uses the Mobile Information Device Profile (MIDP) of the Connected Limited Device Configuration (CLDC) for the Java ME environment
Questions tagged [midlet]
263 questions
18
votes
3 answers
How to convert StringBuffer to InputStream in Java ME?
I'm new in Java and learning Java ME development. I got stuck in this conversion. Please help me to convert StringBuffer to InputStream. Thanks!

masiboo
- 4,537
- 9
- 75
- 136
13
votes
2 answers
How do you sign a Java Midlet?
A simple question with a fairly complicated answer:
How do you sign a Java Midlet so you can load it onto a mobile phone with less security prompts?

David Hayes
- 7,402
- 14
- 50
- 62
8
votes
2 answers
How to make a J2ME application run in Background?
I have a written a J2ME application which uses Bluetooth and search a file within the peer mobile and download it. I would like to make my application run in background , whenever I get a call , or message and later resume after few seconds , Has…

Srinivas M.V.
- 6,508
- 5
- 33
- 49
7
votes
3 answers
Can A Midlet invoke another Midlet?
I been looking around and at sources like this one they say that a Midlet can invoke another if they are in the same suite, or if they are in the same namespace and in the same jar file.
I do not understand what a Midlet-Suite is?
Also after…

Kevin Boyd
- 12,121
- 28
- 86
- 128
6
votes
6 answers
Is it worthwile to learn Java ME?
I have seen many people writing that Java ME (J2ME) is dying. Is it true? What is its future? Should I learn Java ME if I want to create apps for smartphones? If yes, where to start?

bancer
- 7,475
- 7
- 39
- 58
6
votes
5 answers
JavaME - LWUIT images eat up all the memory
I'm writing a MIDlet using LWUIT and images seem to eat up incredible amounts of memory. All the images I use are PNGs and are packed inside the JAR file. I load them using the standard Image.createImage(URL) method. The application has a number of…
Marko
5
votes
2 answers
Yes/No dialog in Java ME
I'm looking for a simple solution for a yes/no dialog to use in a Java ME midlet. I'd like to use it like this but other ways are okey.
if (YesNoDialog.ask("Are you sure?") == true) {
// yes was chosen
} else {
// no was chosen
}

darius
- 4,967
- 4
- 27
- 18
5
votes
0 answers
Nokia 3310: MIDlet always gives "Can't compile the file"
After reading this comment proving that it's possible to write custom apps for the new Nokia 3310 3G (TA-1006), I'm trying to get my own app running.
After doing a lot of reading about what MIDP, CLDC etc. are, I installed the Java ME SDK (on a…
user11121986
5
votes
1 answer
J2ME AES Decryption Error(org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted)
I am doing encryption and decryption using AES Algorithm with bouncy castle
My encryption and decryption works ok but it gives me error when my plain text size is bigger
even sometimes it is giving non decrypted data
public static boolean…

Mihir Palkhiwala
- 2,586
- 3
- 37
- 47
5
votes
5 answers
Processing chunked encoded HTTP POST requests in python (or generic CGI under apache)
I have a j2me client that would post some chunked encoded data to a webserver. I'd like to process the data in python. The script is being run as a CGI one, but apparently apache will refuse a chunked encoded post request to a CGI script. As far as…

Otm Shank
- 31
- 1
- 4
5
votes
0 answers
How to get the current position for non gps phone in nokia j2me?
I want to retrieve the latitude and longitude in j2me for non gps nokia mobile. when i googled,i found that we can get the current location based on the cellid, but it's not working properly, kindly provide me a solution for this...
user2888923
4
votes
1 answer
Does signing Java ME MIDlet by a certificate from VeriSign help avoid security warnings?
I was sure for a long time that the answer is yes.
But after I've read this article:
http://javablog.co.uk/2007/08/09/how-midlet-signing-is-killing-j2me/
(especially "How MIDlet signing used to be" section), I was not sure.
I'm developing a Java ME…

Alexander Udalov
- 31,429
- 6
- 80
- 66
4
votes
2 answers
How to quit / terminate / stop a j2me midlet?
Surprisingly terminating a midlet doesn't work in my application. Maybe it is because I'm using Threads, but destroyApp() and notifyDestroyed() are not sufficient.
Take for example the following code:
protected void destroyApp(boolean arg0) throws…

hsmit
- 3,906
- 7
- 34
- 46
4
votes
4 answers
MIDP 2.0 version issues: $method is undefined for $type
I've written a MIDlet that does several "advanced" things: fetching images from the web, resizing them, saving them on the phone, displaying them.
This all works perfectly in the Nokia S60 3rd Edition FP1 emulator. This device has MIDP 2.0 and CLDC…

benvd
- 5,776
- 5
- 39
- 59
4
votes
2 answers
Java Midlet Deployment
So, I've develop a simple hello world midlet using the Samsung SDK 1.1.2 and I've Packaged the midlet. Now I have two files (a JAR/JAD) combination. How do I get these installed on my phone?
As you can tell from the question, I'm new to phone…

leepowers
- 37,828
- 23
- 98
- 129