midlet

MIDP 2.0 TCP Client

Hi guys, I am trying to develop a TCP client that runs on mobile devices using MIDP 2.0 and CLDC 1.1. I am trying some sample code, and I have the following problem: I get a weird exception when I try to read the data back (From the MIDlet). This is my code: //Wait for an incoming message firstByte = in.read();...

send SMS using GPRS in MIDlet

i want to send a SMS using GPRS in MIDlet... anyone can help me?? Thanks in advance... ...

Missing Launch Icon for Midlet on Blackberry

I am using the 1.1 Blackberry Plugin for Eclipse to develop an application. I am able to create a Hello World program using BlackBerry native code, but I am unable to get a Midlet working. Unlike the Hello World which appears in Downloads, the Midlet doesn't appear, even after I attempt to manually open the .cod file. The Java app works ...

Parallel HTTP Connection in J2ME Midlet

Somebody know about possibility to establish in different threads of J2ME Midlet 2-3 parallel HTTP connections. I's looks possible but works unstable. Maybe somebody have more information about topic. ...

J2ME java.io.IOException error

Hello, I have the following code: import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.io.*; import javax.microedition.io.*; public class FileConnection extends MIDlet implements CommandListener, Runnable { private Command exit, start; private Display display; private Form form; public FileConnect...

MIDP 2.0 version issues: $method is undefined for $type

Hi, 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 1.1 support (also JSR75, which I need in order to save files). It also works as it s...

Developing a MIDlet for Windows Mobile

Is it possible to create a MIDP Application for Windows Mobile? In other words, I want to create a MIDlet and run it on a Windows Mobile Simulator(any). Thanks in Advance. ...

MIDlet + BlackBerry API = verification error?

Hi, Is there any way to write a MIDlet, but still use BlackBerry API classes and functions (including the APIs that require code signing)? In particular, I'm trying to use Kuix (http://www.kalmeo.org/projects/kuix). A pure MIDlet + Kuix (so without BlackBerry stuff) works perfectly after I converted the jar/jad to a cod file. As soon ...

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 MIDletStateChangeException { System.out.println("destroying"); notifyDestroyed();...

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 application and my goal is to get rid of all those security warnings about network acces...

Confusion with MIDlet attributes in a JAD file

"MicroEdition-Profile" can have multiple values separated by space in the JAD file, where as "MicroEdtion-Configuration" can have only one value. According to JTWI specifications, Minimum requirement for MIDP is 2.0, so this gives us only one option (MIDP 2.0) to put in the JAD file Minimum requirement for CLDC is 1.0, so this give...

How do I retrieve a list of businesses from Google Maps and display it in a J2ME Midlet application?

I want to enter a string containing information about the place, along with the type of business. For example new york bank. When I enter this on Google Maps, I see a map of New York, along with red dots which represent banks. I know how to retrieve a static image (http://code.google.com/apis/maps/documentation/staticmaps/) and display ...

JavaME: Is it possible to run a MIDLet on a CDC configuration ?

Hi, We have an application running on CLDC 1.1/MIDP 2.1, based on Midlets and lcdui. Is it possible to run the same application on CDC 1.1 with the PBP profile ? If so, where should I even start ? I'm using Sun WTK 3.0. With CLDC, the starting point is a JAD file, which indicates the name of the main midlet class. What is the startin...

Can a java midlet get details of an unknown mobile.

I have China made iphone replica. JVM has pre-installed in it. I want to know the specifications of this mobile like Operating System[OS],Processor [Speed & Brand],RAM etc. Is it possible with a j2me midlet? ...

How to add wordwrap for ChoiceElement in the ChoiceGroup while developing GUI using Java ME?

While developing GUI using Java ME- I get the wordwrap for the text being shown on ChoiceGroup, but the text on the ChoiceElement doesn't get shifted to the new line if the length of the text exceeds the size of screen. How can we get the wordwrap for the text being shown on the ChoiceElement? ...

Connecting 2 Java Me applications- One launching the another

Is there a way to launch one Java ME Midlet from another? Both of them would be running on CLDC Phones. What we are planning is that there's one main midlet that will do maximum of the work and there's a smaller midlet which will be launched based on certain condition in the main midlet. ...

Can obfuscation (proguard) lead to MIDlet malfunction?

Hi, Im trying to obfuscate a Java MIDlet with proguard. It runs ok on the PC, however, when I run it on the phone, the program opens, connects to the server, and then freezes. If I disable obfuscation, it runs ok again on the phone. Ive tryed all the obfuscation levels for apps (7, 8 and 9 at NetBeans), and none of them seems to work pr...

how to run JAR file in emulator in eclipse configured for Samsung SDK

I need to run a jar file which is application for for SAMSUNG mobiles. I have configured my eclipse with Latest samsung SDK for java. I also able to run a sample application on emulator. Now I have to run a JAR file in that emulator. Please advise. ...

How to tell cell phone to install midlet in applications folder?

I'd like to suggest where the phone should install the j2me app. For instance, on Nokia phones, it always install them in games folder. Is there a way to suggest a destination folder? Either in .jad file or in MANIFEST file? ...

Connecting a midlet with a database

Hello, I am doing a project in Java for mobile devices using the NetBeans IDE. I need to connect the midlet with a local database. I've tried in many ways but do not get anything. Does anyone know how? Thanks ...