java-me

How to edit an XML file in JavaME using kXML?

kXML is an alternative XML parser I chose to use for JavaME apps. The XML file to be editted is inside the mobile app's own JAR. I'm using CLDC profile. Please help ...

Alternatives for DocumentBuilderFactory and TransformerFactory for Java ME

I have this code that works perfectly in Java SE. How can I make it work in JavaME? These classes are not available in Java ME, CLDC profile. DocumentBuilder, DocumentBuilderFactory, NodeList, DOMSource, StreamResult, TransformerFactory, Transformer. ` DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try{ ...

Notify an application when a contact list changes in symbian suing j2me

I am developing the application for retrieving contacts to send sms using PIM api. now when the new contact is added while application is running how the application get notification that a contact list changed and how i will get that particular contact from the list? ...

Hook for redraw event in Blackberry

Is there a way to add a redraw callback to a live screen object, i.e. not via inheritance? Reasoning: I want to draw an overlay from an extension for widget sdk (substituting jumpy position:fixed), so the screen is created by the bbwp stub. I can get it by Ui.getUiEngine().getActiveScreen() and draw on it quite nicely, but I need ...

Importing and committing multiple PIM contacts collectively.

Can you import and commit multiple PIM contacts collectively? Currently we are importing and committing each contact individually, which results in the user having to authorise each contact. This is our code: PIMItem[] pi = instance.fromSerialFormat(inputStream, "UTF8"); Contact contact = contactList.importContact((Contact) pi[0]); co...

How to send a business card to a mobile using C#?

Is there any way to send a business card to a mobile phone using C#? I have an application in j2me which requires some set of data corresponding to some contacts so I want to send the business card of that contact via my server Business Card is a type of special sms which contains the contact details of any person ...

combobox in j2me

how can i keep the combobox on the form in j2me with out using frameworks? i have tried this but it is not showing any drop down for selection. ChoiceGroup CoursePOP = new ChoiceGroup ("Pop Up choice", Choice.EXCLUSIVE, new String[] {"Python", "J2ME","Symbian"}, null); ...

Table or gridlayout in j2me

I want to display 3 rows on the screen for which table or gridlayout s needed. Is it possible without using frameworks? how should i implement for displaying 3 rows on the screen? ...

PIN number handling in j2me application

have to make a PIN protected j2me application, how can a default PIN number be applied to the application so that the user may have to change the PIN on the first run. PS: PIN number is not the actual PIN number of the phone,it is application specific PIN ...

Maintain seperate inbox

How can a separate inbox and sent items be maintained for SMS's received/sent on/from a port(other than 0) in j2me? ...

J2ME JAD file analog in Android

When my server gaves apk file to user, I need to put some values In this file, for j2me platform I use JAD file, and put my values there: MY_KEY: SomeKeyValue MY_KEY2: SomeKeyValue2 When j2me application starts on device, I can access this values through System.getProperty. How can I do the same on android platform? ...

Catching Push registry event?

Is there any way to know that whether the application has been invoked manually or by push registry? ...

Which way of declaring a variable is fastest?

For a variable used in a function that is called very often and for implementation in J2ME on a blackberry (if that changed something, can you explain)? class X { int i; public void someFunc(int j) { i = 0; while( i < j ){ [...] i++; } } } or class X { static int i; ...

Getting null System properties on Sony Ericsson P1i ....

Hello, I am developing a file-api app on Sony P1i. I used the following System properties to get the images, tones folder names/paths but all are returning null.... System.getProperty("fileconn.dir.photos") System.getProperty("fileconn.dir.photos.name") System.getProperty("fileconn.dir.tones.name") System.getProperty("fileconn.dir.tone...

How to read URDU from url and show it to your mobile using java Me

HI, Hope you all will be fine. Actually I m facing a problem. Actually i am using Google translation API. What my application does it connect to CGI-script, i pass value to it using GET then the CGI script connect to Google API, Translate the mesage from english to Urdu and then i retreive it.Here is the code [Java] import java.io.*;...

Problem with running JavaME

Hi guys, I'm getting angry - I cant run the emulator (under vista x64). I still get the following error: Starting emulator in execution mode * Error * Failed to connect to device 2! Reason: Emulator 2 terminated while waiting for it to register! BUILD FAILED (total time: 26 seconds) I was trying to change the port to 1999, localho...

How get fonts installed or supportd in mobile using getProperty - java me

Hi, Hope you all will be fine. Can any one tell me how can i get the fonts installed or supported in the mobile. And suppose urdu font supported by the mobile then i set a condition like this. [code] import java.lang.*; String value; String key = "microedition.font"; // not real need value it's just to show what i want value =...

How to open a paticular midlet from a jar having 2 midlets?

Whenever i open my application it asks me select the midlet. Is there any way to open a paticular midlet automatically using certain conditions? ...

best j2me profiler

which profiler is best for j2me ? there is a profiler in WTK. but it is not good and usefull. JProfiler is good, but I cannot use it for j2me application. is there any profiler like JProfiler for J2ME applications ? ...

Open Source math library for very higher calculations for J2ME

Is there any Open Source math library for very very higher calculations for J2ME? We can use very large numbers beyond "double" datatype range. ...