midlet

How do you sign a Java Midlet?

Hi, A simple question with a fairly complicated answer. How do you sign a Java Midlet so you can load it onto a mobile phone with less security prompts. Dave PS: This is intended to be a self-answered question (I'm moving my blog and I don't want this info to be lost). Not quite sure on the etiqette for something like this ...

JavaME - LWUIT images eat up all the memory

Hi, I'm writing a MIDlet using LWUIT and images seem to eat up incredible amounts of memory. All the images I use are PNGs and are packed inside the JAR file. I load them using the standard Image.createImage(URL) method. The application has a number of forms and each has a couple of labels an buttons, however I am fairly certain that on...

Communicating between a J2ME Midlet and PC

Hello, How do I make a J2ME Midlet to communicate with a java program or some application on the pc through the cable connected? Thanks ...

Are Hecl scripts as powerful as native J2ME midlets?

Looking over Hecl, the scripting language with a J2ME runtime, I wonder about its capabilities: Assuming my base Midlet has methods and variables that I've written Can the Hecl interpreter run within my Midlet, and side-by-side with my classes? Can the Hecl script call any of my methods within the Midlet? Can the Hecl script utilize a...

How do I sign a Java midlet?

How do I sign a Java midlet? ...

Thread-safe checking variable for a midlet

Hi, I'm programming a game in j2me in the client side, that connects to a server written in java. This game is going to have a chat feature, but as a secondary feature. For every midlet that connects to the server, a server-game thread is spawned. These threads talk between them, so that they can synchronize and write in turns to a ser...

allow users to switch between input languages inside a j2me java midlet keyboard qwerty E71 and such

Hi, We have a midlet that needs to allow the user to switch input languages on the fly (its a dictionary type app) between several languages (say English to Arabic etc). All was charming in the "old days" with the numeric keypad, we handled the input ourselves matching 2 clicks on the 5 to feed the correct char to our program. Then came...

Connect midlet to server in internet via bluetooth

Hi! I'm writing an application that's basically a midlet that connects via WiFi to a server on the internet. Everything's running fine, once I load the midlet onto the phone and start it, I get prompted on which way would I like to connect to the internet, so I select a WiFi access point and connect to the server. Now, I would like to...

Midlet v/s Phone Browser app pros and cons?

How do you weight the pros and cons between a Midlet and Browser based client/server app for a phone ... What are the pros and cons of both... And based on your experience what will you prefer to go in for and why? I have listed some points based on which we can compare both feel free to add your own... Rapid development. Rich UI. ...

Q: Convert an image form j2me to PCL3 command

Hi all I have spent 1 week of my life trying to print image that i take from graphic object to HP Officejet H470 which support PCL3. I try multi ways but nothing till now. My problem was to print arabic character to this printer but i couldn't becuase the don't support arabic font as i know, so i write arabic character to the graphic of ...

Netbeans Midlet Screen Flow Auto-Organize

I'm designing this JME application for a Nokia phone and when designing the MIDlet screen flow, my Netbeans is now bunching up all of the forms I designed on top of each other and not in some kind of easy to see diagram. Is there any button or setting I can use to make everything organized again? ...

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 ...

Netbeans, mobile development and screen size

Hi all, I'm looking at prototyping with a HTC Advantage, which runs Windows Mobile 5 and has a screen resolution of 640x480 (or the other way if in portrait). Before anyone jumps in and suggests developing as a native Windows mobile app, we're prototyping as a Java midlet because we also want to find out what restrictions/limitations/d...

linking midlets

Hi, how do I connect the midlets to work with 1 single master midlet? if possible, there should only be 1 jar for the downloading into the mobile. The users should be able to select the non-master midlet as well, or better still not display them on the mobile. thanks. ...

J2ME Midlet exception :IOException reading reader invalid first byte

When i run my midlet with Java Wireless toolkit, midlet runs correctly, but when it try to parse a textfield, following error occurs; java.lang.RuntimeException: IOException reading reader invalid first byte 10010111 at com.sun.cldc.i18n.Helper.byteToCharArray(+228) at com.sun.cldc.i18n.Helper.byteToCharArray(+9) at java.lan...

Java Wireless Toolkit: Exporting data from a running midlet

I have an midlet running on JWT, and i want to export some data evaluated by the app. to some other application, or just able to get it to command line so i can send it as a param to some ather application. Is it possible to send some data (values of a return function or a variable) to out of JWT, or is there any console or logging info...

How to open a file with JSR 211 CHAPI (Content Handler API)

Please note that this is a question about MIDlets, i.e. Java ME (not "ordinary" Java SE). I'm looking for the correct way to invoke content on a mobile phone using JSR 211, i.e. CHAPI - Content Handler API. I always get to the IOException in the code below. The mobile phone I'm running on supports JSR 211 (it's a Sony Ericsson C902). d...

J2ME and mobile phones

Hi, can i write a MIDlet that stays "resident" like an agenda, that alarms when a certain event will occur( in other words, the MIDlet API allows the developer write a application that stays running in background)? Within a MIDlet, can i use the vibratory alarm of the cellphone? ...

J2ME applications in Nokia 2660

It's possible to install J2ME Midlets in the Nokia 2660 cellphone? The installation of the Midlet is via bluetooth or physical cable? ...

to display google maps in midlet application

what will be used (canvas,form or something else) to display google map in my midlet application ? description: i'll entering the longitude and latitude in textfield and based on that the map will display in browser (using platformRequest()). problem is : i want to display map in my emulator(mobile) please help me. ...