java-me

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

Could anyone explain what the difference is between CLDC and MIDP? ...

J2ME/Java: Referencing StringBuffer through Threads

This question might be long, but I want to provide much information. Overview: I'm creating a Stock Quotes Ticker app for Blackberry. But I'm having problems with my StringBuffer that contains an individual Stock information. Process: My app connects to our server via SocketConnection. The server sends out a formatted set of strings th...

An Application interfaced with mobile..

I have an idea to design an application which is interfaced with a mobile. The application has to note down each and every transactions happening in the mobile like making a note of all incoming messages and store appropriate information in the application's database to perform manipulations. Is this possible ? Can you suggest me an appr...

Tunnel Failed, BlackBerry Curve 8900

Hi guys, I have a MIDlet that sends TCP messages over the network to a server residing on the same internal network. Whenever I try to connect using this line: StreamConnection writeSock = (StreamConnection) Connector.open("socket://" + serverIp + ":" + serverPort, Connector.READ_WRITE); I get an error saying Tunnel Failed Ac...

Why is startApp() used instead of the constructor in Java ME applications?

A lot of Java ME tutorials use the startApp() method for creating and initializing objects and the constructor is left blank. However, the startApp() method is also invoked when the MIDlet resumes from a paused state. This causes all the objects to be re-initialized and any changes made are lost. I have also noticed that the netbeans ID...

J2ME applet - run Java in a mobile's web browser

I'm looking to embed a J2ME application as an applet in a web page to be accessed via a mobile phone web browser. Every major web browser supports the embedding of Java applets - does an analog exist for cell phone web browsers? If not, does there exist a cross-platform way of launching a J2ME application from a mobile web browser? ...

Is alcheMo available?

Is it possible to develop iphone apps with java? I'd prefer to use alchemo over xmlvm because of the superior features that it offers. Can I do that? Is anyone else doing that? I've looked all over their site for the download link, but can't find it! Is it available? If so, where? http://www.innaworks.com/alchemo-for-iphone-java-me-j2me...

error in java code (j2me)

hello. i am gettin an exception for the followwing code.i am not able to understand what is UUID,can anyone help to resolve this error.i have posted the code as well as error,i am getting. package wiki.nokia.example; import java.io.IOException; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.DiscoveryAgent; impor...

Parallel HTTP Connection in J2ME Midlet

Somebody know about possibility to establish in different threads of J2ME Midlet 2-3 parallel HTTP connections. I's looks possible but works unstable. Maybe somebody have more information about topic. ...

How to trigger an application in mobile automatically

My idea is to make an application start automatically when a message from a specific user reaches the inbox of the mobile . For example if my friend sends some numbers to my mobile, the sms has to be read and validated first and then calculator ( inbuilt mobile application) has to be triggered and process the numbers from the message. Pl...

j2me problem in using web services

any one konw how to use jaxm in j2me thanks in advance ...

Could not make multiple connection with bluetooth.

Hi all, I was trying to create a scenario like this A PC running as a server with bluetooth dongle attached. Mobile A connects to this PC and two text fields and a button is showed on Mobile A. Where in user can input 2 numbers and press a button. After pressing, result will be showed on Mobile A as a sum of two numbers. Same thing, si...

Select and read file in java me

How to select file in java me with file selection dialog? How to read this file? ...

Java ME - Multiple forms, moving from one screen to the next

Hi there, i'm using Java Micro Edition and i'm trying to create a simple login form with a record store. When the user enters the details i'd like to check them against the ones stored and then move onto another screen like a welcome area. I have a feeling its something to do with the form element and switching between it but i cant se...

java error(j2me)

Starting emulator in execution mode Installing suite from: http://127.0.0.1:49874/rtspd.jad [WARN] [rms ] javacall_file_open: _wopen failed for: C:\Users\Ishan\javame-sdk\3.0\work\0\appdb\_delete_notify.dat [WARN] [rms ] javacall_file_open: _wopen failed for: C:\Users\Ishan\javame-sdk\3.0\work\0\appdb\_ch_suite.raw [WARN] [rms ...

Scrolling issue with bitmap image field, Blackberry

working on BB 9000 hey in my screen there is a label field ,below it there is a bitmap field and below that there is a list field when i scroll down all repainting is fine but when i scroll up from list field to Bitmap field then my image does not gets repainted till i reach at the top most label field. i am unable to figure out why ...

invoking a call fom BB code

i need to invoke a call from code how can i do it i tried Phone arguements but it did not worked??????? ...

How to run application using SMS from another phone?

I want to run an application on another mobile without any external interaction using SMS from another mobile. Is that possible, and how to do that? No, I don't want to the user to open the SMS and launch the application, no point of it then, I wan't something like remote motor operating using SMS. Any ideas? Can we send SMS from any ...

Blackberry HTTPConnection best practices.

I am developing a project for BB. The application works with the network and sends / receives data via HTTP. Now I use the queue and queue manager. Manager starts with a background thread and works in while (true) loop, checking the queue for new transactions to the server. If the queue is not empty, then the transaction is executed, oth...

J2ME java.io.IOException error

Hello, I have the following code: import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.io.*; import javax.microedition.io.*; public class FileConnection extends MIDlet implements CommandListener, Runnable { private Command exit, start; private Display display; private Form form; public FileConnect...