java-me

J2ME chat application?

I want to develop a chat application using J2ME.Any reference code example or code or any kind help can help me...... in my application.In my application message will go from one mobile to the server(Tomcat) first there i will save it in my database and then look msisdn and forword this message to the that msisdn ...

JavaME NullPointerException when changing MIDlet Name or Vendor property (Eclipse + Series 40 emulator)

I had a MIDlet project called Numbers that I decided to rename to Digits. Instead of simply renaming it, I decided to create a brand new project from scratch, so that I can have new directory, package name, .jad/.jar names, etc. Everything went fine, I copied the .java files to /src and resource files to /res and recompiled successfully....

Error: Symbian SDK Error - Failed to initialize session

I've tried to deal with this before, about 8 months ago, I didn't find a solution for this then, and also now there is no real solution for it. I downloaded the Nokia Symbian-3 SDK 0.8 - the newest today, I have Java 1.6.0.13, Eclipse 3.5 and winXP sp3, and when I try to run the emulator from the IDE, on the "Connect to agent" step, the...

Displaying large png image on S40 J2ME

I want to display large png image on nokia S40 phone. Because heap size is very limited I can not load image using Image's createImage method. What can I do? Maybe I should re-implement png decoder, to decode portions of png dynamically, and display each time the needed portion? ...

Sending SMS in J2ME Application

how to send sms using j2me tools? ...

"Invalid Application. Delete?" only when compiled with a nokia sdk

I'm Developing a peace of software for my Uni and am currently attempting to implement NFC functionality witch requires me to move from my standard sun wireless tool-kit platform (implemented through net-beans) to a Nokia platform (also implemented through net-beans). The problem is, whenever I compile the code with the Nokia platform i...

J2ME change icon.

Hello is there a way to change the icon of a J2ME application while on the background to do some sort of notification. I am trying to achieve something similar to what de BBChat does on the BlackBerry devices. Thanks in advance. ...

J2ME MIDlet appears in Gallery but not in Applications

I've written a MIDlet with J2ME using Eclipse. To test it, I transfer the MIDlet using a bluetooth connection to my Nokia 6131. But the MIDlet (or App) just appears in the phone's "Gallery" folder. How can i move it to the "Applications" folder (where the other J2ME Apps reside)? ...

probleam with getDiscoveryAgent() !

Hi i want to use mobile device bluetooth , i use this code but there is probleam with this method getDiscoveryAgent() . this error shown : Null pointer java/lang/nullpointer exeption this is my code public class Midlet extends MIDlet implements CommandListener { LocalDevice local = null; DiscoveryAgent agent = null; List activ...

how to create layered map in mobile appliaction

Hi all, i have seen mobile application named locago on getjar.com , it has map with many layers i.e. layer for wikipedia . I'd like to know further about how to create map with layers in j2me mobile application ...

Code Signing J2ME Application

Hi , I have my application written in j2me , written for specific mobile phone i.e. Nokia 2690 My requirement is to perform File IO operation without asking user permission. I mean i want to obtain trusted domain [or any under which this requirement belongs] I am complete beginner. Please provide me help . Also provide me the Autho...

Java ME Canvas events and blocking network functions

Hi, this is my first question here on stackoverflow. I am making a pretty sweet Java MIDlet that lets me control my computer from my cell phone, using either an Internet socket, Bluetooth connection, or USB connection. I created a custom class called Robot which sends data over the network with a DataOutputStream. It looks exactly the sa...

BlackBerry J2ME vs HTML Javascript framework like PhoneGap

A client wants a blackberry application for listening live radio for his radio station. We focused on iPhone development. I know Java language have done several projects. However haven't tried yet J2ME. Which do you recommend J2ME or HTML Javascript framework like PhoneGap or any other cross platform framework? What are the advantages a...

Is there a way to retrieve the user's phone number in an mobile app?

Is there a way to retrieve the user's phone number in an mobile app? I'm looking to build some sort of addressbook utility that builds phone numbers and let them dial the numers etc by making use of their current phone number. Is there a way to retrieve this information? I've found some ways to retrieve it in blackberry and android fro...

Netbeans Mobility Obfuscation problem (Proguard)

I am upgrading my development environment from Netbeans 5.5 to 6.9. Along with that comes a change from Proguard 3.5 to 4.4 for obfuscation of my J2ME apps. Where before my projects built fine, I now get warnings about not being able to find referenced classes. Warning: class1: can't find referenced class class2 Warning: class1: can...

Error while running a midlet in Eclipse: no class found

i am using Eclipse pulsar for mobile developer and MOTODEV SDK and iDEN sdk for j2me (midp2.0). Debuggin midlet in Eclipse gives an error: No Class Found. Can anyone help me determine the source of this error? !ENTRY org.eclipse.mtj.core 4 120 2010-08-05 04:26:53.009 !MESSAGE Couldn't connect to virtual machine !STACK 0 java.io.IOExc...

Read lines in Java ME

Does Java ME allow you to read a line from an InputStream? ...

Eclipse device management: NullPointer Exception while selecting device

I have installed Motorola iDEN sdk for j2me (midp2.0) on Windows 7 with Eclipse 3.5. I go to window->preference->java me->device management and click the tab manual install. I get the error no Error Searching For Device(java.lang.nullpointerexception). I have also installed motodev_sdk; it works fine. Can anyone help describ...

JAVA Me Audio processing

Is it possible to calculate MFCC (Mel-frequency cepstral coefficients) using J2ME (JAVA ME) on mobile devices? ...

javadoc location in for Java ME?

Using Eclipse 3.5 and the plugin for mtj. Where can I find the Javadoc location for Java ME? How can I set the Javadoc location in Eclipse? I am using motodev sdk and also installed a mtj as Eclipse plugins. ...