Questions tagged [java-me]

Java Platform, Micro Edition, or Java ME, is a Java platform designed for embedded systems.

Java Platform, Micro Edition, or Java ME, is a Java platform designed for embedded systems (mobile devices are one kind of such systems). Target devices range from industrial controls to mobile phones (especially feature phones) and set-top boxes. Java ME was formerly known as Java 2 Platform, Micro Edition (J2ME).

  • Technology overview for beginners on Oracle.com - Introduction to Mobility Java Technology:

    To develop applications using wireless Java technology, you'll need to assimilate information from several fields. You'll need to understand something about wireless communications technology, the business of wireless communications, and a lot about the Java platform. Where should you begin? This page contains a high-level overview of wireless Java technology and many links to detailed information about specific subjects...

API Documents

CLDC 1.1 API Documentation

MIDP 2.0 API Documentation

5775 questions
2
votes
3 answers

How to remove installed Java programs on the simulator?

There are lots of java apps on my simulator menu screen which I have been coding and testing? Now I want to remove some of them to clean my simulator a bit. How do I remove them?
Bohemian
  • 5,957
  • 11
  • 38
  • 47
2
votes
4 answers

Strange “java.lang.NoClassDefFoundError” in Eclipse

i am testing a J2me project when i run it is giving java.lang.NoClassDefFoundError: org/cdac/securitycore/storage/StorageBridge. I had included a jar file which contains StorageBridge.class even i checked the class path also my jar file compiled at…
user2307155
  • 185
  • 1
  • 3
  • 12
2
votes
2 answers

How to get time format of current TimeZone?

I m getting current time zone as , String defaultTimeZone = ""+TimeZone.getDefault(); Now I want to get its time for which I m using , SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); for eg, if currentTimeZone =…
Shreyas
  • 209
  • 1
  • 7
  • 16
2
votes
2 answers

LWUIT TextField numeric default input mode not working on a physical QWERTY keyboard

I have a strictly numeric field for the user to fill, and the default entry mode to be numeric. In the "Java(TM) Platform Micro Edition SDK 3.0" simulator, the following code is working as it should. However, on a physical QWERTY keyboard device,…
Gabriel
  • 83
  • 1
  • 5
2
votes
0 answers

Receiving SMS in J2ME from any port

I have made J2ME application for sending and receiving SMS in which message listener is used for listening Incoming message from particular port number. I want to make SMS Receiver which listen all incoming SMS from anywhere instead from particular…
Parmanand
  • 355
  • 2
  • 6
  • 15
2
votes
3 answers

How do you get the Class of an Abstract class (Object) in JavaME?

I need to get the Class of an object at runtime. For an non-abstract class I could do something like: public class MyNoneAbstract{ public static Class MYNONEABSTRACT_CLASS = new MyNoneAbstract().getClass(); But for an abstract class this does…
Philip.ie
  • 1,506
  • 1
  • 17
  • 19
2
votes
2 answers

How to compress image in j2me

I am making a j2me app. In this app I want to upload images more then 1 MB. But as heap size allocate is limited to 1 MB in most of the mobiles, so when I tried create input-stream of image more than 1 MB size, it throws OutOfMemory exception. So…
mark
  • 503
  • 5
  • 27
2
votes
1 answer

Stop asking permission again and again in J2ME

I am using Location API and HttpConnection in my J2ME Application which keeps tracking updated location and showing image of Google Map, So it is asking for user permission repeatedly. How to avoid this ?
Parmanand
  • 355
  • 2
  • 6
  • 15
2
votes
2 answers

J2ME Get current time zone

I have a j2me application and it needs to get the name of the current timezone and send it off to the server. However, the only format that I seem to be able to get the phone to give me is "GMT-5:00". What I want the application to do is return the…
Null
  • 103
  • 9
2
votes
4 answers

How to make a blackberry application start , by code?

I have a background function listening for push messages. I need to handle though the push. I created the function to take any actions when the push arrives and it works pretty well. For example when a push arrives i increment a number etc…
donparalias
  • 1,834
  • 16
  • 37
  • 60
2
votes
3 answers

How to make HyperLink in BlackBerry application?

Can anyone tell me how to make hyperlink in BlackBerry?
Kumar
  • 5,469
  • 20
  • 64
  • 87
2
votes
0 answers

How to handle "out of balance" situation in java-me sms app?

A j2me app is sending sms. Now SIM card in the mobile phone is prepaid and is out of balance, So app cant send the sms. Do we get any exception in this case ??? As far as I know it gives IOException, I have handled the same but it is not working...
Vijay C
  • 4,739
  • 4
  • 41
  • 46
2
votes
1 answer

How to handle null as a key value in Hashtable in blackberry?

As, I know Hash table doesn't allow null. How to handle it if I want to put key pair values? Is there any other alternative in blackberry ??
2
votes
1 answer

When adding a record for a specific recordstore , it's added to another recordstore also!?

I have a LWUIT application that involves two RecordStores players1_recordStore and players2_recordStore . Two methods method SearchCarded_team1 for retriving all records of players1_recordStore, and method SearchCarded_team2 for retriving…
PHPFan
  • 756
  • 3
  • 12
  • 46
2
votes
1 answer

J2ME HttpConnection infinite redirect

I'm developing a java application for a GPRS modem (Siemens TC65). I call several times a method to do a HttpConnection to different URLs. Sometimes it works fine but sometimes I get redirected by my operator (HTTP code 302). I follow the URL…
Hugo Rocha
  • 537
  • 5
  • 23