Besides doing it manually using regular expression search, is there other better ways to parse a JAD file?
I need to be able to search for and replace/insert a new MIdlet-Install-Notify property to a JAD file given, also updating the value of the MIDlet-Jar-URL property.
Using ANTLR or TinyPG is a bit overkill for my case.
TIA
...
how can i determine the color depth of the display device during runtime. is this even possible?
...
Hi there
I get these warnings when packaging
and of course the application doesnt work on the simulator
Warning!: No entry points found
Warning!: MIDlet class is not public
note that the main class is public.
any ideas?
...
Hi
I am currently developing a MIDlet that plays Black Jack with a server. The MIDlet itself only sends out the following string signals:"wage amount","deal","hit",and "stand" to the dealer which is the server. Then the server deals with all the game logic and betting system. When the MIDlet receives response from the server, it will di...
getAppProperty(String key) is instance method in MIDlet class. Since all midlet in midlet suite share same manifest/jad file, so why cant it be a static method?
...
Hello, I'm looking for some instructions/pointers on how to sign our J2ME midlet for use on the Vodafone UK network so the user is no longer continually prompted to allow access to the network whenever it attempts an HTTP/UDP network transaction.
The application currently installs and runs OK but the user is repeatedly prompted to allow...
I want to debug in J2ME MIDlet application in Emulator using S40 6th Edition SDK.
I've tried to put breakpoints but emulator doesn't break on them.
Is it possible?
...
Hello Everyone,
I have developed a midlet that is supposed to be invoked using Push Registry only. The user must not be able to manually start the app. I have achieved this by checking if the midlet was not invoked through Push Registry, then exit the midlet immediately. but is there any way to hide the app from application folder on No...
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)?
...
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...
I tried to test the source code for reading QR codes from http://qrdemo.com/qrmidlet. Then, I tested it using the S40 5th edition FP1 Lite SDK. It throws a javax.microedition.media.MediaException. It tells that "capture://image" and "capture://video" are invalid locators. Can anyone explain to me why are there devices like these?
...
How can a MIDlet ascertain whether it has been manually invoked or automatically?
Thanks!
...
What are the other mutually exclusive permissions for a MIDlet aside from "Net Access" and "Auto Invocation"? Are "Net Access" and "Messaging" not mutually exclusive?
Edit: What about "Messaging" and "Auto Invocation"?
...
Hi All,
I am from Bangalore-India. I have developed few J2ME applications that involves client/server interaction through HTTP connection.
I am testing my application on both the leading operators of the country- Airtel and Vodafone. My Midlet works fine with S60rd edition and S40 2nd edition(6030) phone. but as soon as i switch to S40...
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.
...
Hi there,
We are using IIS6 to serve mobile games (J2ME Midlet), we have set the MIME type for both the .jad and jar files on the server.
However, there are quite a few 954 Loader error responses, from Google results I discovered such 954 error is due to the OMA download descriptor (as this error code does not belongs to the J2ME Midle...
Are there guidelines or tips on designing and building J2ME applications?
...
i got a .cer file which the request for was made from some other computer.
i imported the certificate to my keystore and tried to sign the midlet using jarsign.
and got this error:
jarsigner: Certificate chain not found for: somealias. somealias must reference a valid KeyStore key entry containing a private key and corresponding public ...
Is it safe to implement a MIDlet class as a singleton? That is, after all, the Display class is acting like a singleton for each and every midlet so is the midlet itself a singleton by behaviour so that implementing it as such wouldn't break something?
In other words, it is not possible to have two instances of an app running, is it? I ...
How can I hide the title bar (and also the midlet icon) and not the softkeys in j2me midlets?
I am creating a midlet which make use of a canvas.the full screen mode hides both titles and soft keys. any ideas?
...