Questions tagged [cldc]

Connected Limited Device Configuration (CLDC) is a specification of a framework for Java ME applications. Known versions are CLDC 1.0 (JSR 30) and CLDC 1.1 (JSR 139)

69 questions
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
9
votes
2 answers

JSON parser for J2ME

I need a basic JSON parser that works with J2ME / CLDC 1.1. A Google search returns tons of answers on this (some even on stackoverflow), but it appears that all point to libraries and solutions that are no longer available (for example, lots point…
Liedman
  • 10,099
  • 4
  • 34
  • 36
8
votes
4 answers

Getting Device IMEI

How to get the IMEI of a Java ME device in a common way that is applicable to all devices
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
6
votes
4 answers

Is there a good HttpClient library for J2ME/MIDP?

I want to call some RESTful web services from a J2ME client running on a MIDP enabled mobile device. I read the MIDP api for HTTPConnections and thought this is just crying out for a simple wrapper to hide all those unpleasant byte arrays and such…
Freakent
  • 869
  • 8
  • 7
5
votes
2 answers

What is the difference between CLDC and MIDP for Java Mobile?

Could anyone explain what the difference is between CLDC and MIDP?
Casebash
  • 114,675
  • 90
  • 247
  • 350
5
votes
5 answers

The hunt for the J2ME-friendly IoC container is on!

I'm in the beginning phases of a Blackberry/J2ME project -- and along with other limitations that come with this wonderful platform, the lack of support for reflection and 1.3 language level mean that the vast majority of existing IoC containers are…
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

J2ME does not find my implementation of java.util.TreeMap

What I'm trying I'm trying to use java.util.TreeMap in a J2ME application. I know that TreeMap is present on J2SE but not on J2ME, so I've made some efforts to port the J2SE 6.0 TreeMap to J2ME 1.2 and included it in my Midlet Jar. This involved…
Lena Schimmel
  • 7,203
  • 5
  • 43
  • 58
4
votes
3 answers

Is Object.class.getName() Slow?

I'm writing code in the Java ME environment, so speed is absolutely an important factor. I have read several places that reflection of any sort (even the very limited amounts that are allowed on java ME) can be a very large bottleneck. So, my…
Ring
  • 2,249
  • 5
  • 27
  • 40
3
votes
2 answers

J2ME coverage tools

I need to estimate the code coverage of a test set. The tests are run on a J2ME application, on a physical device. MIDP 2.1, CLDC 1.1 and JSR-75 FileConnection are available. As J2ME is (roughly) a subset of J2SE, tools using java.io.File (like…
jschultz
  • 146
  • 5
3
votes
1 answer

j2me Execution failed with error code 1, CLDC-run

I've made an j2me application in NetBeans 7.1 with both j2me SDK 3.0 and 3.0.5. A few days ago, before a major change in code which doesn't affect the startup, it ran fine. When trying to run the app now it starts the emulator, but fails to start…
3
votes
1 answer

Using boolean var for stopping threads

I have a Java book I'm learning from and in one of the examples, I saw something suspicious. public class ThreadExample extends MIDlet { boolean threadsRunning = true; // Flag stopping the threads ThreadTest thr1; ThreadTest thr2; …
closer
  • 43
  • 1
  • 6
3
votes
3 answers

Is it possible to upload data as a background process in j2me?

Even with a poor network connection? Specifically, I've written code which launches a separate thread (from the UI) that attempts to upload a file via HTTP POST. I've found, however, that if the connection is bad, the processor gets stuck on…
Rowena
  • 33
  • 4
3
votes
2 answers

Developing CLDC or J2ME applications under Mac OSX?

I have noticed that Oracle now has released a Java Platform Micro Edition SDK for OSX. It works, it can compile the provided examples and the included phone emulator works too. But how do I compile my own J2ME project from Ant or Eclipse? There are…
Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
3
votes
2 answers

Class.getSuperclass() replacement on Java ME?

How can I get the the superclass of a Class instance in Java ME. That is, fake the Class.getSuperclass() functionality with the limited functionality available in CLDC 1.1? What I want to do is to let the abstract super class do something like…
PeyloW
  • 36,742
  • 12
  • 80
  • 99
1
2 3 4 5