Questions tagged [midlet]

MIDlet is an application that uses the Mobile Information Device Profile (MIDP) of the Connected Limited Device Configuration (CLDC) for the Java ME environment

263 questions
2
votes
2 answers

How can Midlet calls static variable?

I have a midlet which has got a static variable. I need to keep the record of all the instances created in this variable. but it does not work like static variable. my code segments look like this. I am running this midlet on sun wireless toolkit…
raja
2
votes
0 answers

MIDlet not running. Failed to initialize connection with emulator 6

I'm trying to run a simple midlet on Java ME SDK 3.0 integrated into Netbeans 7.1 on Windows 7 Ultimate (just a UI). It was running fine until yesterday but now its showing an error and i can't see the midlet in the emulator. I don't think its…
Safal Pillai
  • 1,567
  • 1
  • 16
  • 31
2
votes
1 answer

Configure the size of the icon at J2ME Polish

How can I configure the size of the icon to fit correctly on the multiple mobile devices? Based on the J2ME Polish documentation, I'm using the following resources folder structure: IconSize.15x15\icon.png IconSize.16x16\icon.png ... But it's no…
Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138
2
votes
1 answer

minimize and getting back the display

I want to minimize my app and after the timer end get it back. I use code below. To minimize application use following line of code: Display.getDisplay (MIDLET_CLASS_NAME).setCurrent (null); To get the screen back use the following: …
Mostafa
  • 23
  • 3
2
votes
2 answers

nullPointerException in a MIDLet

I have written the following Java Application: import java.util.Timer; import java.util.TimerTask; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.StringItem; import…
lonesome
  • 2,503
  • 6
  • 35
  • 61
2
votes
1 answer

what is the correct configuration to connect midlet to servlet

I created a midlet application that can import data from a data base (implemented with oracle in PC) and insert data to the same data base, so the application work very well in the emulator (Netbeans IDE). Device is supporting MIDP 2.1 and jsr 172:…
2
votes
2 answers

Can you record audio with a Java Midlet on a Nokia phone (N80/N95) without the JVM leaking memory?

I would like to repeatedly capture snippets of audio on a Nokia mobile phone with a Java Midlet. My current experience is that using the code in Sun's documentation (see:…
Alastair
  • 21
  • 2
1
vote
2 answers

how to set lwuit textarea scrolling false

I want to add large string content to a container dynamically. There are 60 different contents(strings) to be displayed in this container. To add the string to container, I am adding a TextArea(empty border with 100% transparency). The problem is…
1
vote
0 answers

Midlet - JSR179 Getting "Location Request timed out" issue

When I'm sending message with location co-ordinates through my Nokia 5800. I'm getting "Location request timed out" message. I am working in one project to accomplish this task. How can I solve this issue?? Any solution for this problem??
1
vote
0 answers

how to off Rotation in Nokia device N82?

I want to lock Rotation functionality of Nokia N82 Device for my application. Is there any attribute available for doing so? How can i achieve this? I have tried out Nokia-MIDlet-App-Orientation : portrait attribute. but cant get success.
1
vote
2 answers

J2ME access filesystem on network computer

I am trying to access files on a network computer via a J2ME MIDlet. This MIDlet runs on a device that is connected to the network via a WI-FI router. The MIDlet can see the other devices (that is, it has visibility to the other devices's IP on the…
Vikram Goyal
  • 159
  • 1
  • 13
1
vote
0 answers

Alternatives to send a big image from a midlet to servlet

What are the alternatives to send a big image from a midlet to servlet to prevent OutOfMemoryErrors?
iberck
  • 2,372
  • 5
  • 31
  • 41
1
vote
1 answer

KXmlParser build issue in MIDlet app

I keep getting this error Uncaught exception java/lang/NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException. when I try to run a MIDlet with KXmlParser. I have included the kxml2-2.3.0.jar lib into project build path, and it is visible…
perza
  • 403
  • 7
  • 14
1
vote
1 answer

How to set component orientation from right to left in j2me?

I just need to know how a component orientation can be set from right to left in j2me. For instance writing is starting from right to left in some languages.
1
vote
1 answer

listening to CommConnection constantly in mobile device

I have the following code and I don't know how can I listen to the com port constantly. So whenever data is available I can read it. So should I create a thread and open the input stream on it permanently? How should I close it before opening an…
jim
  • 494
  • 2
  • 5
  • 23