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
13
votes
2 answers

What does preverification of J2ME application mean?

I read the following: J2ME applications, unlike normal Java applications are preverified. What exactly does the preverification of J2ME jar file mean? Is it something like checksum?
gameover
  • 11,813
  • 16
  • 59
  • 70
13
votes
2 answers

Stop thread and again start giving IllegalThreadStateException in blackberry

I am getting IllegalThreadStateException exception when using following code: I have already started this thread once(by using thread.start()) and again trying to start it at another place, so used following…
AnkitRox
  • 534
  • 1
  • 6
  • 16
12
votes
2 answers

Is there any option for local database like Sqlite for j2me - CLDC devices?

Is there any option for local database like Sqlite for j2me - CLDC devices? PerstLite and OpenBaseMovil are both under dual license. Is there any open source option for this? Or, any alternate way of developing application.
iOSDev
  • 3,617
  • 10
  • 51
  • 91
12
votes
3 answers

get current date in dd-mm-yyyy format

how to get current date in DD-MM-YYYY format in BlackBerry i have already tried the following, but it gives me output of 1318502493 long currentTime = System.currentTimeMillis() / 1000; System.out.println("Current time in :" + currentTime);
Hitarth
  • 1,950
  • 3
  • 27
  • 52
12
votes
7 answers

Why can't we directly call the run() method?

If the start() method of a thread internally calls the run() method, then why don't we directly call the run() method in our code? What are the issues involved in doing so?
n_g
  • 3,315
  • 8
  • 25
  • 29
12
votes
8 answers

Rounding a double to 5 decimal places in Java ME

How do I round a double to 5 decimal places, without using DecimalFormat?
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
12
votes
13 answers

J2ME VS Android VS iPhone VS Symbian VS Windows CE

I have very little idea about mobile platforms, though I am interested to program for them. Would you please compare J2ME VS Android VS iPhone VS Symbian VS Windows CE. I would like to know: which one is better which one should I choose and why if…
Sadi
  • 2,346
  • 4
  • 18
  • 31
12
votes
1 answer

Load Image from Image URL taking so much time to display

I used the code from the following link: Signare's Blog. I have 10 image URLs and would like to retrieve and show them on my screen. When I use the code from the above link, it's taking more than 10 minutes to load all of the images. How do I speed…
Rince Thomas
  • 4,158
  • 5
  • 25
  • 44
11
votes
3 answers

What is the difference between android.opengl and javax.microedition.khronos.opengles packages?

Just couldn't find anything regarding the purpose of android.opengl classes anywhere on the web: they seem to be copies of javax.microedition.khronos.opengles - just with static vs member methods. So is there any special meaning in using them…
myself
  • 482
  • 3
  • 21
11
votes
4 answers

algorithm for getting time zone from geo coordinates

I want to write app where user can point any place on map (not only cities) and get timezone in that place. What data structure (app will not have Internet connectivity) and algorithm should I use? Where I can obtain needed data (I wont more…
Maciek Sawicki
  • 6,717
  • 9
  • 34
  • 48
11
votes
6 answers

Barcode reading using picture taken using mobile phone camera

How do we do programmatic reading of a barcode that is captured using a mobile phone camera? For example, how do that using iPhone or Android or Java ME? Do we need separate hardware to read bar code or can we do image manipulation?
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
11
votes
8 answers

Is it worth mitigating against the effects of garbage collection?

I have an application where the memory profile looks something like this: (source: kupio.com) The slow upwards crawl of memory usage is caused by the allocation of lots and lots of small, simple, transient objects. In low-memory situations (This…
izb
  • 50,101
  • 39
  • 117
  • 168
11
votes
10 answers

Java ME UI libraries

I'm developing a Java ME app & need pointers to some really good UI libraries. I did see a few such as Java ME Polish. Are there any more out there? For e.g. ebuddy's java ME app has an amazing UI and so is gmail's java ME app. What libraries would…
Good Boy
10
votes
4 answers

Invalid character '�' encountered

I am getting following exception while parsing the xml. Fatal error at line -1 Invalid character '�' encountered. No stack trace I have Xml data in string format and I am parsing it using DOM parser. I am parsing data which is a response from…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
10
votes
3 answers

is it possible to install java fx on an android phone?

I want to install a Java Me application on my android phone. I have tried with jbed and some other virtual machines, but it doesn't work. On Windows Mobile, I tried with javaFx and it worked, so I tried to do the same on android but I cann't find a…
Laura Isabel
  • 209
  • 4
  • 10