Questions tagged [java-me]

Java Platform, Micro Edition, or Java ME, is a Java platform designed for embedded systems.

Java Platform, Micro Edition, or Java ME, is a Java platform designed for embedded systems (mobile devices are one kind of such systems). Target devices range from industrial controls to mobile phones (especially feature phones) and set-top boxes. Java ME was formerly known as Java 2 Platform, Micro Edition (J2ME).

  • Technology overview for beginners on Oracle.com - Introduction to Mobility Java Technology:

    To develop applications using wireless Java technology, you'll need to assimilate information from several fields. You'll need to understand something about wireless communications technology, the business of wireless communications, and a lot about the Java platform. Where should you begin? This page contains a high-level overview of wireless Java technology and many links to detailed information about specific subjects...

API Documents

CLDC 1.1 API Documentation

MIDP 2.0 API Documentation

5775 questions
10
votes
4 answers

Best binary XML format for JavaME

Can anyone recommend a good binary XML format? It's for a JavaME application, so it needs to be a) Easy to implement on the server, and b) Easy to write a low-footprint parser for on a low-end JavaME client device. And it goes without saying that it…
izb
  • 50,101
  • 39
  • 117
  • 168
10
votes
3 answers

Fast Fourier Transform (FFT) input and output to analyse the frequency of audio files in Java?

I have to use FFT to analyse the frequency of an audio file. But I don't know what the input and output is. Do I have to use 1-dimension, 2-dimension or 3-dimension array if I want to draw the spectrum's audio file? And can someone suggest me…
thongcaoloi
  • 121
  • 1
  • 1
  • 3
10
votes
4 answers

Dead-locks in Java: When they occur?

I am working on an app for the J2ME and sometime it freezes completely and it takes quite some time for the AMS to close it. It seems to me like a dead-lock issue. Could you advise me as to what could cause dead locks? Would, for instance, calling a…
Albus Dumbledore
  • 12,368
  • 23
  • 64
  • 105
10
votes
4 answers

BlackBerry threading model

I've read a lot of comments mention in passing that the BlackBerry threading model deviates from the Java standard and can cause issues, but no amount of googling has enlightened me on what this means exactly. I've been developing a fairly large…
roryf
  • 29,592
  • 16
  • 81
  • 103
10
votes
6 answers

How to deal with multiple threads in one class?

Threads are often designed in two ways (see java tutorials): either by extending the Thread class or by implementing the Runnable class. Either way, you need to specify what will run inside the thread. I designed a class, an adapter towards an…
hsmit
  • 3,906
  • 7
  • 34
  • 46
10
votes
6 answers

How to parse the JSON response in Blackberry/J2ME?

I want to parse the response coming from the server in JSON format. I have done some googling but i can't find any library or jar kind of thing. Everywhere there is provided open source code as zip file. How can i achieve this? if there is no jar…
user178275
10
votes
12 answers

In J2ME and Android which one is more useful, useable and popular as mobile programming language or framework?

I am very interested in mobile application development. But which language or framework is more popular, useful and usable? I know Java well. If you have any idea and/or experience, please help me to take my decision.
Sadat
  • 3,493
  • 2
  • 30
  • 45
10
votes
4 answers

Running J2me apps on Android phones

Is it possible to run J2ME apps on Android phones? If so, what is the installation procedure? Otherwise, is it possible to convert .jad files to .apk? In this case, what is the procedure. (I have already tested the procedure offered by netmite but…
user1576593
  • 121
  • 1
  • 1
  • 5
10
votes
7 answers

Which phones support which J2ME (Java Micro Edition) spec?

I just can't find an up-to-date chart about which mobile devices support which Java Micro Edition version. I'm especially interested in Nokia smartphones and their support for the new JME 3.0. (I wonder that Sun doesn't seems to provide such…
ivan_ivanovich_ivanoff
  • 19,113
  • 27
  • 81
  • 100
10
votes
6 answers

Java Convert Object[] Array to Vector

What's the best way to convert an Object array to a Vector? JDE < 1.5 public Vector getListElements() { Vector myVector = this.elements; return myVector; } this.elements is an Object[] Thanks, rAyt I should clarify my question My target…
Henrik P. Hessel
  • 36,243
  • 17
  • 80
  • 100
9
votes
5 answers

How to parse string containing negative number by j2me api?

I have a string which has numbers. I have to parse this string and store these numbers in int, float, etc. Accordingly String str = "100,2.0,-100,19.99,0"; I can do it by Integer.parseInt() and Float.parseFloat() after splitting. But I can't do it…
masiboo
  • 4,537
  • 9
  • 75
  • 136
9
votes
1 answer

How to transfer data to a serial port?

I know that in J2ME CommConnection is the connection to use when working with serial port. I know there are the openInputStream and openOutputStream methods , but in fact I don't know how to transfer data from my MIDLet to the COM port ( the USB…
pheromix
  • 18,213
  • 29
  • 88
  • 158
9
votes
6 answers

Javax package does not exist

there is an error in all my javax header file "package javax. does not exist" here is an image.
Rajesh
  • 91
  • 1
  • 2
  • 6
9
votes
2 answers

Split string logic in J2ME

I am developing a J2ME application. I want to split the following string at "
" & comma: 3,toothpaste,2
4,toothbrush,3 How can I do this?
Vikas
  • 24,082
  • 37
  • 117
  • 159
9
votes
3 answers

How to create J2ME midlets for Nokia using Eclipse

Nokia has stopped offering its Developer's Suite, relying on other IDEs, including Eclipse. Meanwhile, Nokia changed its own development tools again and EclipseMe has also changed. This leaves most documentation irrelevant. I want to know what does…
Asaf R
  • 6,880
  • 9
  • 47
  • 69