java-me

Sending image from server to client

How to send image from server to client through bluetooth in j2me? ...

Eclipse (Pulsar) packaging: How do I incorporate other projects into my jar?

I have a JavaME project in Eclipse (Pulsar 3.5; Galileo). I have another project with common code in it in the same workspace and this is referenced from my app. When I choose 'package app' it generates a jad/jar in the project's deployed folder, but the classes from the referenced project are not included. Is it possible to include t...

J2ME to WinMo Converters

I am interested in a J2ME to native WinMo converter (6.x, optionally 5.x). I have a working LWUIT application, using the following J2ME APIS: MIDP 2.0, CLDC 1.1, Optional (=runs also if JSR not supported, dynamic discovery): JSR 179 Location Personal Information Management (75) FileConnection (75) Wireless Messaging API (120), Mobil...

Mobile development book

Hi, I want to start coding applications for mobile devices. Can anyone recommend me a good book to start coding in Java? (I am an experience programmer in .NET and PHP). ...

Reminder app for S40 phone

S40 doesn't allow an app to run in background. It seams the only solution is to use PushRegistry.registerAlarm. I'm trying to make a reminder app, so when triggered it should make the phone vibrate and make noise, but unfortunately i get a small message saying "Reminder: App name" and the softkey is set to "Open". When it opens it makes...

add text in http request string url

Hello all ok i made a midlet through which i can connect to server pages and get soem information as response. For example i made a midlet through which i acced url: http://example.com/?u=nepal&t=1 Now i want to change the value of u as per users input. I made a text field through which users can input desired name in u=* Now how ca...

Error Checking and Validation using Bluetooth in Java

Using Bluetooth I wish to communicate between a Windows PC and a mobile phone. The PC will probably have Bluecove while the mobile comes with JSR-82. Do I have to implement CRC and other error checking procedures in my software related to Bluetooth transmission and reception or does the underlying Stack and hardware takes care of thos...

J2ME, InputStream hangs up after receving 40K of data over Bluetooth

On sending data over bluetooth from PC to my mobile(N73), the Input Stream seems to hang up. InputStream is derived from StreamConnection. PC software is built in VB.net. Mobile in Java ME. Does the InputStream have an internal buffer that needs to be emptied while reading large chunks of data? Data is being received in chunks of 10Kb ...

Expecting End of File Exception in parsing xml data for Blackberry application

Hi All, I am getting parser exception as "Expecting End of File" while parsing xml data for Blackberry application? How do I fix it? ...

How to strengthen Java ME eco-system

These days everyone who worked in mobile software talks about Android and iPhone. I just wonder what is missing part from Java ME compared to these mobile software platforms. Open application store? Rich APIs? Compatibility? Big company support? ... Do you have any idea on it? How Sun (or Oracle) can strengthen Java ME? ...

javax.microedition.xml.rpc.Operation.newInstance returns null - JSR172

I am using the Sun Wireless Toolkit 2.5.2 to generate web services client stubs. When running the generated code, the method Operation.newInstance method always returns null. The generated code is: Operation op = Operation.newInstance(_qname_a, _type_b, _type_c); _prepOperation(op); ... 'op' is null after the call which then caus...

Java Midlet Deployment

So, I've develop a simple hello world midlet using the Samsung SDK 1.1.2 and I've Packaged the midlet. Now I have two files (a JAR/JAD) combination. How do I get these installed on my phone? As you can tell from the question, I'm new to phone development. Trying to deploy to a Samsung handset on ATT. I'm trying to test out the entire ...

Error preverifying class javax.crypto.interfaces.DHPrivateKey

Hi I am getting the following error during compilation(JAVA ME). any ideas?..thanks Error preverifying class javax.crypto.interfaces.DHPrivateKey java/lang/NoClassDefFoundError: java/security/PrivateKey ...

Detecting Nokia E61 Keyboard Layout in J2ME

Hi Everyone, Nokia E61,E71 etc has different variations of keyboard layouts like QWERTY, QWERTZ , AZERTY etc. Is there a way I could detect the current keyboard layout through J2ME? And there is also some funny thing happening, some E61 we tested has QWERTY keypad but is running QWERTZ layout pre-installed. Is anyone aware of such issu...

J2me web service connection problem

hi, i'm trying to connect to a php web service using kxml-rpc api and the code is as simple as this: XmlRpcClient xmlrpc = new XmlRpcClient("http://***ip here***:88/secure/service"); Vector parameters = new Vector(); parameters.addElement("value"); String result = (String) (xmlrpc.execute("functionName", parameters)); Mobile device...

J2ME intermediate certificates

In J2ME when you sign a JAR with a certificate chain that includes an intermediate certificate (such as one from obtained from Verisign), does the device need to have the intermediate certificate installed as well as the root certificate during verification? I am guessing the answer is no because the intermediate certificates are stored...

difference between addig library and .jar file in netbeans ?

i have .jar file of lwuit and its also in there in netbeans library . when i add it as .jar file my proograms runs good and wheni add it as library my outpout is not shown correctly . whats wrong with this ?> ...

Can blackberry App World apps run in the background?

I roughly remember blackberry apps being able to run in the background and add itself to a list of startup programs and even add in hooks for various OS events (network event etc) and have a background thread handle these events. Question 1) Is this true? 2) Are these kind of apps allowed in the app world or only available through ente...

mobile receipt printing with J2ME via Bluetooth

Hi, I need to make an app in J2ME that can be able to read a SMS and then print it on an epson tm-p60 printer(ESC/POS emulation) via bluetooth. i looked at the epson supprt site but the only ADK/drivers they provide are for: 1.Sun Java2 SDK Standard Edition Version 1.4.2_10 2.Sun Java2 SDK Standard Edition Version 1.4.2_04 3.Sun Java S...

J2ME Registration Screen

I would like to add some kind of Registration Screen to my J2ME software in order to allow users to use my app for a trial period and only give them full access after registration. I know how to get the IMEI etc. but I wonder if there is already code out there which handles the generation of a unique phone identifier and creation of some...