cldc

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 like. Before I write my own I wondered whether there was a good open source library already...

UDP send problem on BlackBerry

I am writing network application for Blackberry .This code is correct at simulator but not working at device. When i run my application on simulator, my server recieves the msg but when i run it on handheld, i get Exception (not IOException) that "null". try { byte[] b = msg.getBytes(); dc = (UDPDatagramConnection)Connector.open("dat...

What is the best resource for BlackBerry CLDC programming?

I deployed many midlets on Blackberry, but now I want to try their CLDC model. Never deal with it. What is the best resource to read for a quick start (except the BB examples?) ...

Getting Device IMEI

How to get the IMEI of a Java ME device in a common way that is applicable to all devices ...

Image Map-like Blackberry Control - CLDC Application

Does anyone know of an Image Map-like Blackberry Control that I can use in my CLDC application? If there isn't one, is there a way to get click x,y coordinates on a MainScreen or BitmapField derived control? Thanks, ...

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

Hi all, 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. ...

How to implement notification service in JavaME - CLDC application?

Hello, How to implement notification service in JavaME - CLDC application,for both series 40 and series 60 phones? ...

Why is java.io.ObjectStreamException used in WTK stub generator for enums?

I am using a web service implemented in WCF which has enums defined in the interface. I am trying to call this from a Java BlackBerry client. I am using Eclipse to develop the Java application for BlackBerry. I am using the Sun Java Wireless Toolkit (WTK) 2.5.2 to generate stub code since the web service is rather large (already in us...

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

Hi all, 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 unusable. (Google has Guice for Android with no AOP, but even that requires sup...

How to fast-forward and rewind audio in j2me / blackberry (midp) application ?

Hi, I want to fast-forward and rewind recorded audio in a j2me and Blackberry application. Is there any sample code available? How do I do it? Please help. Thanks in advance. ...

Trigonometry in CLDC 1.0 / MIDP 2.0 application

How can I use trigonometry in CLDC 1.0 / MIDP 2.0 application? I need "sin cos tan asin acos atan atan2" functions from standart Math library. Thanks ...

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 this: public Styler getStylerForViewClass(Class clazz) { Styler s = stylers.get(clazz); ...

how to detect Compatible CLDC version of Phones?

hi, 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 ...

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...

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 question to the user- Kind of Yes/No- If Yes this question or No this question. How do we do tha...

Java ME Application running fine in Emulator but crashing when deployed to N70. Any way to identify the reason for crashing?

I have developed a Java ME application for CLDC platform. It works fine when executed in an emulator. But when i deploy it to my N70 phone the application doesn't start at all in the phone. In my application there are some 14 classes and am creating an instance of each and putting them in the vector on application start. The classes just...

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? ...

Dynamic context menus for a BlackBerry CLDC Application

In my custom field in a BlackBerry CLDC Application, I want to display a specific context menu based on the current state of the field. My original idea was to do something like this: protected void makeContextMenu(ContextMenu contextMenu) { if (isPaused()) contextMenu.addItem(resumeMenuItem); else contextMenu.addItem(pauseMenu...

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. ...

How to approach SRS

What is the best way to write the system requirement specification. Definition is given to me. project scope is very heavy. Which model should i approach to get the detailed requirement from the client ? Which are the common mistakes while gathering information from client and writing specification ? Help appreciated. ...