java-me

J2ME SIM card change detection

I wanted to create J2ME application, in which the application should work only with the SIM card that was used during installation. On SIM card (GSM) change the application should now work. For achieving this, i thought of taking an signature of the simcard and save it in a persistent storage. On every start of the application the signa...

Mobile device connectivity with webservice on windows authenticated server

Hello All, I am developing blackberry application, which retrieves data from webservice. This webservice is hosted on windows authenticated server under private network. Does anybody knows how can I connect to integrated windows authenticated webservice without entering user id and password ? Or is there any way where I can send windo...

How do I get input from a user using j2me canvases? is this even possible?

Hey guys thanks for reading! I am currently trying to learn J2ME and build a connect four game (some of you might know this as 'four in a row'). I've More or less got all of the aspects of my game working, apart from one thing that is driving me mad! This is of course getting the text from the user! For the two player mode of the game ...

Running a jar file on windows mobile

I have a j2me application. I created a jar file and transferred it to a PDA using windows mobile. But when I click on it trying to execute i get the message: There is no application associated with "filename". Run the application first, then open this file within the application. ...

Are all J2SE classes available in J2ME ?

Hi, I'm a java noob. Wanted to know if all J2SE classes are available in J2ME. If not why is it so? Thanks ...

Setting textfield value back to null for login j2me program

Below is some code which simply allows a user to log in, however i want to be able to reset the value of the text fields userName and password to nothing in the else statement if the user enters the name or password wrong so that is no longer displays their previously entered details. Can anyone tell me how i do this? Also how do you set...

Error Alert won't display

Can somebody tell me why the below code will not display an error when i enter the wrong username of password. Thanks public class LoginMIDlet extends MIDlet implements CommandListener { private boolean midletPaused = false; private Display display; //<editor-fold defaultstate="collapsed" desc=" Generated Fields "> ...

Hide Password Content in Source Code

Does anyone know how to hide the password contents in the source code of a j2me program? i.e. so people cannot see "DBT" as password who read the source code. public void validateUser(String user, String Password) { if (user.equals("N0203251") && Password.equals("DBT")) { switchDisplayable(null, getContinue()); } ...

How can we connect a mobile to a pc using a Java program.?

I'd like to write a JAVA program that connects my mobile with PC through a USB cable. How do I go about it?? ...

Porting Java SE Game to Java ME

Hey all, I'm learning to program in Java and would like to develop a mobile Chess game for the Blackberry platform. It was recommended to me that, as a beginner, I should build the game for regular desktop use and avoid the more complex mobile development for now. I was told that I can port the game to Java ME once development in SE i...

Guide for developing J2ME applications

Hi, Am new to J2ME and what i have now is Netbeans 6.7.1 IDE. Is there any basic guide for developing Mobile applications in Netbeans 6.7.1. please provide me the links.. thanks in advance ...

J2ME Application problem! (Null pointer exception)

Hello there, I'm creating an application that installs 3 Record Stores for the first run. Then on it has to work with the already installed values. The application works fine during the first run both in the emulator and in a mobile. But the second time run shows a null pointer exception after my splash screen loads. After the splash scr...

java me textfield

i want to have default text in a textfield which disappears when the textfield gets focus. similar to the google search box in firefox. also with java me is it possible to set a background image for a display. ...

Mobile program to access a web service

I'm trying to create a program which needs to access a web service. E.g. a mobile program that accesses a a super market service. How do I go about it? ...

J2ME text field to double

Is there a way to convert the string from a text field to a double in j2me? And what is the name of the string that comes out of the text field? ...

How to trigger an application in a mobile on receiving an sms?

i want to trigger a inbuild application in the mobile on receiving a sms. I have codes to read a sms from a mobile but after reading that sms the mobile must automatically trigger an application. Is it possible to do that If yes telll me a good idea to trigger another application on recieving the sms. Please this is veryy very urgent ple...

Java ME - is the Bluetooth address ID globally unique?

I'm coding a Java ME app and attempting to globally identify each phone using the app. The first attempt is to load the IMEI per this question. As a fallback ID I'm using the bluetooth address of the device. Is the bluetooth address of a cellphone a globally unique identifier? Is it a MAC address? Some other format? ...

User defined library

Hi. I am a newbie at J2ME. Recently, I've shifted from Netbeans to Eclipse because of some internal constraints. I am making an App which makes use of a user-defined library. This library has only a jar file. Now, in Netbeans there were no problems. But in eclipse, I am unable to access the classes defined in the jar file included in m...

If statement for gauge j2me

Below is part of some code which displays a gauge which shows the progress from 0 - 100 of a word counter, however i am unsure how to code the if statement to display some text to show a successful count. I have had a go at the if statement " if gg_Progress.value = 100 " which i know is wrong, does anyone know what it should say. Thanks ...

ProgressBar Word Counter problem

Below is the code I am using to display a gauge progressbar from 0 - 100 whilst counting the number of words from a website. When it has finished counting the number of words i.e. when it has reached 100 I want it to display some text. However using the code below all I get is the else statement printed because it is still counting whil...