java-me

J2ME - Increasing record store size of emulator

Hi, is there a way to increase the record store size of the emulator (WTK2.5 and/or JavaME3.0)? So far, I haven't found any command line switches. Thanks. ...

LWUIT : problem in showing arabic words ?

Hi i have problam in showing arabic words in LWUIT , the arabic words characters are separated and reversed , but it`s work true on nokia , how can i slove this problem ? thanks ...

how can i handle stack overflow exception in my game?

how can i handle stack overflow exception in my game it occures when i play the game plz reply asap possible? ...

A unique identifier for cell phone other than IMEI or IMSI?

I'd like to have an unique identifier for a cell phone. Since there is not a particular way to find IMEI or IMSI on every mobile, I want to know if there are other ways to find an unique identifier for a cellphone. Can anyone suggest a way? ...

how to get UUID in j2me ?

in java we can get UUID from class ie UUID.randomUUID().toString() how to get UUID in j2me ? is there any function or class which provides it ? ...

BlackBerry java.io.IOException: No tunnels to open

Hello. I wrote a simple BB app that does an HTTP Request and downloads some JSON encoded information. When I run it on the emulator with the ";deviceSide=true" after the URL it works OK. But when I tried it in my BlackBerry Storm actual device, I got the following exception: java.io.IOException: No tunnels to open Here's the code I u...

LWUIT : arabic font problem

Hi how can i add arabic Characters to bitmap font and show in application ? how can i do it on localization section ? when i use system font it`s shows seprated and reserved on some phones , i want to make bitmap font to show arabic strings correctly on all phones thanks ...

which is the best book for J2ME ?

which is the best book for J2ME ? ...

how i can access google docs through my j2me application?

can anybody tell me how can i access google docs through my j2me app? is there any api? please help me and if possible pls give me referece link for that? ...

How we can draw an image or any string along diagonal?

How we can draw an image or any string along diagonal, as usually they are drawn horizontally? ...

How to send date as a parameter to the request in Ksoap2 to consume .Net web service

I am using KSoap2 for consume web service in my application. I need to send date as parameter in the request. Can anybody know how to send date as a parameter and send the request and please give the sample code for it. Does Ksoap2 support date format? Thanks ...

Encode GIF in J2ME

Hi, I have an Image object in J2ME and I'd like to enconde it to GIF. I've already found a JPEG and PNG encoder as well, but I'm wondering if it's possible to encode my Image in the GIF format, returning it's byte array. I'm doing something like this: ... Image img = Image.createImage(width, height); Graphics graphics = img.get...

J2ME: Get only year/month/day from DateField

I'm trying to use dateField to display which year, month or day has been selected in the calendar. public DateField getDateField() { dateField = new DateField("dateField", DateField.DATE); dateField.setDate(new java.util.Date(System.currentTimeMillis())); } Then I'd like to use this code, but instead of the long date "Thu Oct 07 00:00:0...

how to read RGB Data from png in j2me

hey i have using j2me to read an image i want to do some process on that image like Darkenes , lightens i already read image as an input stream InputStream iStrm = getClass().getResourceAsStream("/earth.PNG"); ByteArrayOutputStream bStrm = new ByteArrayOutputStream(); int ch; while ((ch = iStrm.read()) !=...

how to get mobile contacts fields maximum size on symbian mobiles in j2me using pim api

Hello guys, how to get mobile contacts fields maximum size on symbian mobiles in j2me using pim api ...

How to draw a transparent rectangle?

How to draw a transparent rectangle in j2me? ...

J2ME Byte Array ZIP Compression

Is there some library or built-in funcionality in J2ME to compress a byte array trough ZIP? I'd like to do something like this: byte[] data; byte[] compressed = ZIPLibrary.compress(data); Thanks. ...

use *.bmf bitmap font on LWUIt ?

Hi , i make bitmap font with j2mepolish font editor , is it possible to use this bitmap font on LWUIT ? how ? thanks ...

Mimic file IO in j2me midlet using RMS

I want to be able to record audio and save it to persistent storage in my j2me application. As I understand j2me does not expose the handset's file system, instead it wants the developer to use the RMS system. I understand the idea behind RMS but cannot seem to think of the best way to implement audio recording using it. I have a continu...

Parsing JSON, not sure on how and when to use iterators (Android Platform)

Hi all, I have this JSON to parse {"files_informations": { "row":{"value":"artist1"}, "row":{"value":"artist2"} } } I would like to know how can I get the first value artist1 and then the second one artist2 This is what I am doing : JSONObject myObject = jObje...