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
1 answer

J2ME - BlackBerry - design patterns

There are several publications about patterns in j2me: Architectural manifesto: The MVC design pattern in MIDP development by Mikko Kontio Identification of Design Patterns for Mobile Services with J2ME by J. Narsoo and N. Mohamudally Big designs…
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
2
votes
3 answers

BlackBerry - Exception when creating a graphics object from a bitmap

I am making the following call in my blackberry application (API ver 4.5)... public void annotate(String msg, EncodedImage ei) { Bitmap bitmap = ei.getBitmap(); Graphics g = new Graphics(bitmap); g.drawText(msg,0,0); } And I keep getting an…
yamspog
  • 18,173
  • 17
  • 63
  • 95
2
votes
1 answer

Custom header bar on Nokia S40 J2ME SDK 2.0

I'm trying to change the background and foreground/font color of the black/blue header bar in Nokia Asha. I'm using the Nokia SDK 2.0 for Java and the Nokia Asha's LWUIT version. However, form.getTitleArea() and form.getTitleStyle() seem not to…
Pat
  • 1,193
  • 1
  • 11
  • 36
2
votes
1 answer

Blackberry - Set Time part of Date to the Start of a Day (12:00 AM)

As i am working on a reminder application, i need to show the reminder dialog whenever the set date has arrived for a particular data. I am using the following code to store the date. long now = System.currentTimeMillis(); DateField dateField =…
Getsy
  • 4,887
  • 16
  • 78
  • 139
2
votes
1 answer

JavaMe application support

I need to develop a JavaME application to target low end cell phones. But the target here is to make one app that works for most of the phones. But on the Nokia developers site, i can see that they have different SDKs for different categories of…
Khizar
  • 2,288
  • 5
  • 32
  • 53
2
votes
1 answer

Get Image from client server & display on screen - blackberry java

I am trying to show image on screen by using client server, but I got exception Protocol not found: net.rim.device.cldc.io.ftp.Protocol" , java.lang.IllegalArgumentException. Here I have post the code where I get the exception(Currently on app I…
Kabir Somro
  • 125
  • 7
2
votes
4 answers

Sorting vector in java

I want to sort a vector contains like [a,b,1,3,5,z] both ascending and descending on Java ME, i.e. without using function like Collections.sort()
karthickbabu
  • 21
  • 1
  • 4
2
votes
1 answer

Problem while fetching xml file from server

I am trying to download an XML file(in my J2ME Application) from a location in the server. My problem is that, in the beginning of the XML file these characters-"", are getting appended. Can anybody tell me where the problem lies??
pujakhemka
  • 123
  • 10
2
votes
1 answer

Connect to WLAN with Java ME

I am programming a Midlet for an old mobile phone (Samsung gt e2120) with the Java ME. This phone does only support GRPS for accessing the internet, no WLAN or other types of connections. In areas where GPRS is not available I want to connect the…
user2762016
2
votes
1 answer

How can I convert an Image to byte array in J2ME?

My requirement is like this. I need to read a file from the Mobile phone using a file connection, create a thumbnail of that image and post to the server. I am able to read the image using the FileConnection API, and also able to create the…
Sanal
  • 21
  • 1
  • 3
2
votes
1 answer

java-me: HttpConnection fails to write to body for Instagram API request

I have an app running on J2ME that needs to access the Instagram API. Specifically, I need to post a comment. This is a Post method. So I try to add the "text" parameter to the body of the request by using HttpConnection.setRequestProperty(), but…
James Harpe
  • 4,315
  • 8
  • 47
  • 74
2
votes
1 answer

How to write/read RSA public and private keys in a j2me CLDC application

I am developing a j2me app that uses a hybrid of RSA and AES algorithms. RSA keys are used for secure key exchange purpose while the AES is used for message encryption. The application need to generate and store/write the RSA key to a secured place…
2
votes
1 answer

Arithmetic Expression Evaluation in j2me: Works only for single digit operands

I have implemented the algorithm that I have found on this link to evaluate an arithmetic expression for j2me. But it works fine only when I have single digit operands i.e. 2, 5, 7, 3 but not for 456, 56, 34.45 etc. I did some changes as i knew i…
Nitesh Verma
  • 1,795
  • 4
  • 27
  • 46
2
votes
1 answer

How to parse nested json objects in J2ME

Json Object: {"SessionID":"ae231c4b-6c69-4dec-8d52-be0786cdcdd8", "RequestUniqueID":"34356566545677", "ReportCode":"01", "Condition":"{\"ReferenceNumber\":\"500\"}", "MethodName":"TopupGetReport"} I want to parse this object; how do I do so?
Nancy Jain
  • 204
  • 1
  • 7
2
votes
2 answers

BlackBerry - How to start a messenger application?

I would like to use gtalk or any other messenger in my application but i don't know how to do this.can u please give me idea about how to solve this one.if u can provide me some web link to know more about this.
Kumar
  • 5,469
  • 20
  • 64
  • 87