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
2 answers

Java ME, How to implement peer to peer communication?

The title is the question....
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
2
votes
1 answer

How to sign data using blackberry cryptography

I am trying to sign data using Blackberry cryptography but generated signature is not getting verify by the server side(PHP) I tried this - RSACryptoSystem rsaCryptoSystem = new RSACryptoSystem(1024); // Create an RSA key pair. …
2
votes
0 answers

Detect Smartcard removal in J2ME (JSR257)?

I'm using the J2ME contactless API (JSR257 - javax.microedition.contactless.*) to read smartcards on a Nokia phone. The following code works just fine and the targetDetected method is called as expected when I put a card on the…
Josef Pfleger
  • 74,165
  • 16
  • 97
  • 99
2
votes
3 answers

pauseApp Java ME

what actions should be taken in the pauseApp method of a Java ME midlet. what is the purpose of having this method.
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
2
votes
2 answers

Start media(audio+videos) from start in blackberry

When anyone clicks on my stop button & then clicks on play, the Audio or Video plays from the start. Here is the code that i am used to play the video/audio _player.start(); _player.setLoopCount(-1); Here is a code that i am used to stop the…
Kabir Somro
  • 125
  • 7
2
votes
2 answers

Softbuttons not responding after overriding keypressed and keyreleased

I am developing an application that requires me to override keypressed and released methods in lwuit so as to map specific functons into gamekeys. The gamekeys work fine when I do this but I'm having trouble adding more than two commands to…
2
votes
1 answer

Nokia S40 PushRegistry

I'm building a dummy app to see how it's working the pushregistry alarm, but I don't get it working. When I run it, I don't see anything... Any idea? here is my code (LWUIT with SDK 2.0, S40) package mobileapplication2; import…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
2
votes
2 answers

Java ME - is the Bluetooth address ID globally unique?

I'm coding a Java ME app and attempting to globally identify each phone using the app. The first attempt is to load the IMEI per this question. As a fallback ID I'm using the bluetooth address of the device. Is the bluetooth address of a cellphone a…
leepowers
  • 37,828
  • 23
  • 98
  • 129
2
votes
1 answer

class file for java.util.Map not found

I got this error class file for java.util.Map not found on this line of code: JSONObject json = new JSONObject(jsonString); I am developing a J2ME project with J2ME polish 2.4, using the json-1.0.jar library. The project was working not until I…
Sunday Okpokor
  • 721
  • 6
  • 18
2
votes
2 answers

How to consume SOAP Webservices in Blackberry

I am working on a blackberry application. I need to call soap webservices, but I am unable to do so, and am getting null as a response. Following is my code: private static final String CONNECTION_PARAMS = ";deviceside=true"; SoapObject request =…
Nitin
  • 1,966
  • 4
  • 22
  • 53
2
votes
4 answers

How do I get input from a user using j2me canvases? is this even possible?

I am currently trying to learn J2ME and build a connect four game (some of you might know this as 'four in a row'). I've More or less got all of the aspects of my game working, apart from one thing that is driving me mad! This is of course getting…
Exile
  • 9,163
  • 4
  • 23
  • 22
2
votes
1 answer

LWUIT(J2ME) List snapping elements to grid after scrolling

Essentially what I want to happen is, after the user scrolls the list, I want the elements to snap into 'grids' instead of remaining where they are, so that I can center the middle component in the list, like in the picture. I tried manually…
Pat
  • 1,193
  • 1
  • 11
  • 36
2
votes
1 answer

HTTP 411 error with J2ME -> nginx + apache + django

We have a web based application in production built using django. It is deployed on nginx proxied with apache which handles the django app via WSGI. OS is Ubuntu. In addition to the web based front-end, we recently developed a J2ME client for…
sharjeel
  • 5,825
  • 7
  • 34
  • 49
2
votes
0 answers

Secure connection in j2me

I need to implement secure connection in j2me. i.e. all http calls calling rest api should be changes to https. For that, according to my understanding, we need to install a certificate in server side using tomcat. My doubt is: 1. How do we install…
2
votes
0 answers

May not call a native

I have created a jar of cldc_bccore_classes.zip (bouncy castle light weight api) and preverified it. I am using this jar in my Blackberry project. Everything worked fine, the jar is preverified and the project runs fine on the simulator. But when…