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
1
vote
3 answers

append() method of J2ME

We know that in Java when a method returns a value we have to store that value in a variable of that type. For example the getString() returns String and we store that value in a String variable. In J2ME I was trying to create radio-buttons i.e.…
Rameshwar.S.Soni
  • 630
  • 1
  • 8
  • 22
1
vote
2 answers

J2ME emulator not showing: Emulator 0 terminated while waiting for it to register

I tried a simple HelloWorld program (CLDC and MIDP) in Java Wireless toolkit but when I tried in Java ME SDK it builds fine but the emulator is not coming. It shows the following message Starting emulator in execution mode Error Failed to connect to…
Rameshwar.S.Soni
  • 630
  • 1
  • 8
  • 22
1
vote
1 answer

Creating a color image in j2me

I need to create different image size with green color in microedition, is it possible? I need to create the image on the fly without loading an image.
iberck
  • 2,372
  • 5
  • 31
  • 41
1
vote
1 answer

Commands sometimes don't work

There is a Canvas which has two Commands. The problem is that when the canvas is first opened then the commands work , but when I open it for the second time then the command doesn't work! Here is the code: package view; import…
pheromix
  • 18,213
  • 29
  • 88
  • 158
1
vote
0 answers

Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')" - cld() issue

Trying to figure out this error message on RStudio : "Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')"" I'm confused as it was working yesterday... I was able to display my ggplot with…
1
vote
1 answer

CLDC & CDC in J2ME from Android point of view

Like the title says, I am wondering, there is a CDC and CLDC in J2ME, and I want to know what resembles them in the Java for Android point of view. Maybe something like comparisons, or what's in the CDC in J2ME and what Java for Android's elements…
rpa
  • 97
  • 1
  • 9
1
vote
3 answers

UDP Send Error on BlackBerry

I am writing network application for Blackberry. This code is correct on the simulator but not working on a device. When I run my application on the simulator, my server recieves the message but when I run it on a device, I get an Exception, not…
Qubeuc
  • 982
  • 1
  • 11
  • 22
1
vote
1 answer

Migrating ASN1 package from standard Java (JRE 1.5+) into J2ME (CLDC 1.1)

I am newbie in Java, I am trying to adjust the output classes generated by JASN1 OpenMUC compiler (for java 1.5+) to run it on a BGS5 CLDC 1.1 platform. Most basic classes have been altered and compiled successfully but there remains an issue…
1
vote
1 answer

can't install jar in mobile phone (CLDC and MIDP)

When I export a jar of my j2me code I can install it on an emulator but not on my mobile phone with the error : Not Supported But I can install others jar from net on my phone.
Vanhelsing
  • 51
  • 1
  • 6
1
vote
1 answer

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…
MohamedSanaulla
  • 6,112
  • 5
  • 28
  • 45
1
vote
1 answer

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…
MohamedSanaulla
  • 6,112
  • 5
  • 28
  • 45
1
vote
1 answer

How do we add ChoiceGroups dynamically in Java ME (CLDC) based on the answer to previous choice group values

I am developing a Java ME application for CLDC devices. I have a requirement where the questions are generated based on the previous response. I would start with one choicegroup and then based on the answer to this choices give another set of…
MohamedSanaulla
  • 6,112
  • 5
  • 28
  • 45
1
vote
1 answer

how to detect Compatible CLDC version of Phones?

i am currently working on mobile base xhtml site. in this site i have to do download page. for this i need to detect Compatible CLDC version of Phone. please help me. thanks
Kombuwa
  • 1,613
  • 4
  • 20
  • 35
1
vote
0 answers

How can I run javascript/rhino implementation on cldc?

I'm trying to implement the javascript/rhino implementation on cldc through this api: http://sourceforge.net/projects/rhinoj2mecldc/ I downloaded the project and created a new one in netbeans adding all sources, the application runs without errors…
iberck
  • 2,372
  • 5
  • 31
  • 41
1
vote
1 answer

In J2ME, RMS can still hold all records after closing an app or restarting the phone?

I am developing a location based app in J2ME. I am using a configuration of CLDC 1.1 & MIDP 2.0. In that I have to stored place name, address, latitude, longitude, reminder text, and tone name in a database. My questions about RMS are: 1) When I…
Rahul More
  • 615
  • 3
  • 13
  • 41