java-me

J2me: no support for FocusControl in Nokia?

Hi, I am developing a J2me app which uses the camera to take a snapshot and then decodes it (using Zxing library). The target is Nokia phones. I need to use the focus to have a clear image, if not, it is difficult to decode the image. Since the series 40, the control "videocontrol" and "SnapShopControl" are available. I thought that fo...

Dead-locks in Java: When they occur?

I am working on an app for the J2ME and sometime it freezes completely and it takes quite some time for the AMS to close it. It seems to me like a dead-lock issue. Could you advise me as to what could cause dead locks? Would, for instance, calling a synchronized method of a object cause dead lock if it calls another synchronized method ...

How to resolve j2me contacts 'Array Out Of bound Exception' ?

Hi, I am newbie in j2me development. I have made application to retrieve contacts name,email and phone no.. I am able to fetch name and email correctly,But while it is going to fetch Phone No. , it is giving exception 'Array Index out of bound'. I have checked code again , it is written correctly.But any how it is giving exception for...

J2ME : problem in exporting jar file on eclipse

Hi i write a J2ME application on eclipse and it`s run on PC well , i try to make jar file for run it on my phone but when i download it to my phone this massege shown : invalid application ! can any body help me ? can any body tell me how to export jad file ? thanks ...

Midlet throws javax.microedition.rms.RecordStoreException: error opening record store file in Samsung emulator

I'm using the Samsung SDK 1.2.0 Beta in Netbeans 6.8. I'm trying to test my midlet for accessing the record store management system. This statement RecordStore rs = RecordStore.openRecordStore("Store", true); runs fine when I'm using the Nokia SDK but it throws a RecordStoreException when I used it on Samsung. ...

Open source testing tool for J2ME application?

The intention is to test a J2ME application I am developing. I came across Robot Framework, but not sure if it can be applied to J2Me applications. Are there any other you are aware of? Preferably, I would want a tool that can support headless mode for testing the app. ...

HTML rendering algorithm

Hi! I am making an e-book reader for the J2ME and I wonder if I could make it render HTML pages. For the moment, I am using some simplified styling of my own. So, could anyone point me to a good in-depth tutorial or a specification of an open-source HTML engine? Of course, I have some idea about it all, i.e. the main steps involved, the...

Fast but anti-aliased resizing in Java

Hi! I need an algorithm for resizing images in J2ME. The faster and lighter, the better. But nearest-neighbour is not an option as I need anti-aliasing. Something like Hermite interpolation sounds OK. I am not an expert there, so no need to laugh. Note: I won't need colour unpacking as the data will be grayscale. Thanks a lot! ...

Send an array of complex objects using ksoap2 to .NET web service

Hi I am facing a problem in sending an array of complex object from a J2ME Client using KSOAP to .net web service (Soap services). my TestSoap.java file has a setArr() method which takes an array of PropHeaderMapBin object and sends it to the web service which returns an integer (count of PropHeaderMapBin objects) TestSoap.java pack...

What's the LWUIT theme resource syntax for borders, gradients and such?

LWUIT ships with great Resource Editor but this doesn't allow your resources definitions to be versioned or edited easily. So I'm using the ANT task and editor.jar to build my resource bundles from my IDE (Netbeans). This works great for simple declarations as found in the docs and the demo application. Example from LWUIT demo: bgCol...

j2me : problem on runnig application

Hi i have probleam on run application , when i click on "Launch as emulated Java ME JAD" this message shown : com.sun.kvem.midletsuite.InvalidJadException: Reason = 22 The manifest or the application descriptor MUST contain the attribute: MIDlet-1 but its run true when i click on "Launch as emulated Java ME MIDlet" can any bod...

get list of phone supported jsr

Hi how can i get lis of phone jsr support on application ? is it possible ? thanks ...

does motorola iDEN series mobiles supports javascript?

hi i just want to know that does motorola iDEN series mobiles supports javascript? and which is default browser for it. ...

can anyone give me a link that returns kml file for google map?

Can anyone give me a link for google map that returns kml file? ...

compatibility j2me bluetooth obex file transfer from one mobile to other mobile

Hi i have developed j2me/bluetooth/obex file transfer program. aim is from one mobile to other which are having java and bluetooth support one should able to transfer the file (self replicating midlet). wanted to know does all device supports bluetooth also supports obex ? if yes, fine. if no, what is most basic/best way to handle sit...

read excel file in j2me

Hi i have excel file , i want to use it like data base on j2me . how can i read excel file in j2me ? thanks ...

how to view pdf files in blackberry?

Can anyone tell me how I can show pdf files in blackberry? I have tried the jpedal library for java-me but, there are some errors. Can anyone solve my problem? ...

is it possible to use swing/awt with blackberry/j2me?

hi just want to know that if i can use swing/awt component with blackberry or j2me. if yes how can i plugin it into eclipse. ...

Application Architecture Suggestion

Hi all, I am preparing a J2ME application, Which is basically data capturing utility, Which reads data from end user from form and the data will be submitted to server as the application will get connection. I am planning to capture photo also. Now my arch. is MIDlet will fetch data from user and will store it in RMS and as th...

Selecting nodes based on multiple attributes of a node using MiniXPath library

Hi, I have a XML document which looks something like this: <events> <event category="gymnastics" subcategory="rhythmic" date="5" venue="ig stadium"> <id>1</id> </event> <event category="gymnastics" subcategory="test" date="6" venue="jn stadium"> <id>2</id> </event> <event category="athletics" subcate...