java-me

Can a java midlet get details of an unknown mobile.

I have China made iphone replica. JVM has pre-installed in it. I want to know the specifications of this mobile like Operating System[OS],Processor [Speed & Brand],RAM etc. Is it possible with a j2me midlet? ...

How can I setup my Netbeans IDE for making Jave ME applications?

Ok, I have Netbeans 6.7.1 installed with the default Java SDK. I'm using Linux Mint. Now I'm told that I have to download Java Platform Micro Edition Software Development Kit 3.0 So, should I download this? And once I download and install this in Linux, what do I have to install for Netbeans so I can create a Mobile Application? I'm fa...

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

Problem with displaying Hebrew language in the device

Hi all , I build a mobile application getting data from a remote server via web service . I'm using the JCP 172 sun implementation to use the service . Some of the data is in Hebrew , it displayed as strange chars , and I return the data from the web service as UTF 8 . Is there any workarround on this problem . Thanks in advance ... ...

SWT for Windows Mobile: UI Architecture

I have a Windows Mobile application written in Java that uses AWT for the user interface. I am looking at porting the UI to SWT. I got a hold of the SWT libraries for windows mobile and I started looking at what work will be involved in actually porting it over. I think the first thing I have to decide is how to handle a large number ...

Upload image from J2ME client to a Servlet

I want to send an image from a J2ME client to a Servlet. I am able to get a byte array of the image and send it using HTTP POST. conn = (HttpConnection) Connector.open(url, Connector.READ_WRITE, true); conn.setRequestMethod(HttpConnection.POST); conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); os.write(byte...

how to connect j2me application with gtalk

Hi, I have created a login page on mobile. after login with google username and password, i want connect it with g-talk. I need to see my all gtalk contacts on mobile application. How I authenticate and get contacts here, Is there any web service url for user authentication ? Please help me! ...

How to send sms to localhost in j2me ?

Hi all, Im not familiar with the J2me framework, I would like to know how to send a message to the local phone. I am just developing an application, which set ExamDates and if I login this application and I have exam scheduled within 2 days I would like my app to send me an SMS letting me know that I have something schedule ... I know...

Sending SMS using Java ME application

I want to a Java ME application that transfers any SMS received to a PC using bluetooth. The PC can then direct the Java ME application via bluetooth to send a response SMS. Is there library available for this architecture or I have to design it myself? Is this approach correct or a better one exists? I want to use bluetooth as then I wi...

Trigger J2ME application when GPS coordinates change

I need to know, how to trigger or open J2ME application when GPS coordinates changes ...

Android how to get access to raw resources that i put in res folder?

In J2ME, I've do this like that: getClass().getResourceAsStream("/raw_resources.dat"); But in android, I always get null on this, why? ...

BlackBerry project version number

I have a BlackBerry Java project in Eclipse. It has version number written down in four different spots: in the project properties, under "BlackBerry Project Settings/General" in the JAD file, under MIDlet-1 (?) in the JAD file, under MIDlet-Version in the ALX file, under <version> (?) And they seem uncorrelated. Changing either of t...

java.net.SocketException: Software caused connection abort: socket write error

Hi guys, I am trying to send an image from a Java desktop application to a J2ME application. The problem is that I am getting this exception: java.net.SocketException: Software caused connection abort: socket write error I have looked around on the net, and although this problem is not that rare, I was unable to find a concrete solu...

Can i write to data output stream after reading response from data input stream?

Hi, i want to do a client-server activity like this: 1. first the client sends/writes to output stream 2. the server responses with some data that will be read with input stream 3. after receiving the data, the client sends/writes to output stream again to respond that the data has been received now, do i have to close the output stream...

Can i have list of Java enabled mobile devices?

Hi All, I want to find out list of mobile devices in the world on which I can run J2ME applications. Thanks, Rajnikant ...

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

Spinning a circle in J2ME using a Canvas.

Hello all! I have a problem where I need to make a multi-colored wheel spin using a Canvas in J2ME. What I need to do is have the user increase the speed of the spin or slow the spin of the wheel. I have it mostly worked out (I think) but can't think of a way for the wheel to spin without causing my cellphone to crash. Here is what I hav...

Suggestions for GUI of a multiledia messaging application in J2ME

Hello everyone, We have developed a messaging application in j2me which adds text message, gets pictures from gallery and attaches them to the message etc and sends it over to a server after encryption, i.e. the client wants the messages to be encrypted. The app is ready but the only problem is that the GUI of the app looks miserable co...

J2me - Arrays vs vector ?

if we have to implementations of string split for j2me, one returns vector and the other returns array , in terms of performance on hand held devices which one is the best choice ? ...

Using the Antenna and J2ME Polish preprocessors interchangeably and setting a variable value

I have J2ME code, which I want to be able to compile using the J2ME Polish preprocessor or the wtkpreprocessor (antenna). They mostly use the same directives so it usually works, but ... When I want to insert an URL value in the Java code this gives a problem. In Antenna the code would look like this: //#ifdef my.url //# System.ou...