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 extract phone number from txt file

anyone could help me with extracting phone number from a txt file. I got a lot of txt files in a folder titled with an id. if user input a certain id, the midlet will read the file title as id.txt, and read the string as the phone number in the file…
Chen Li
  • 31
  • 1
2
votes
0 answers

Emulator from Java ME Platform SDK does not display text on Windows 7

I am trying to use vanilla j2me emulator from Java ME Platform SDK 3.2 on Windows 7 but it doesn't show any text on its screen. It draws all ui controls but there is no text both in my midlet and in in emulator menu. I assume that this is some kind…
Eugene Loy
  • 12,224
  • 8
  • 53
  • 79
2
votes
2 answers

J2ME location API (JSR 179) on non-GPS devices

The Java ME Location API says it supports: Mobile Network based positioning. GPS Short Range Beacons Quite a number of phones support this API (JSR179). However, some phones don't have an inbuilt GPS module, is it still possible to use this API to…
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
2
votes
2 answers

Log user into facebook using session key from my Facebook app

I have a simple Desktop Facebook application that allows the user to retrieve some of their Facebook info(Written in Java). This info is then sent to their phone. When the user sees something of interest (e.g. new comment) in their phone's…
barryred
  • 1,103
  • 1
  • 17
  • 27
2
votes
1 answer

LWUIT "Textfield" theming overriden when writing in Blackberry J2ME

For some reason the theming of the Textfield is drawn over (overriden) by a white box that covers it entirely whenever the user begins writing inside the field. The theming returns to normal once the user scrolls away from the Textfield. Is there…
2
votes
2 answers

try/catch does nothing in Java ME

So I have the following code: public class Minesweeper extends MIDlet implements CommandListener { public static String error = ""; public void startApp() throws MIDletStateChangeException { Display display = Display.getDisplay(this); …
ACarter
  • 5,688
  • 9
  • 39
  • 56
2
votes
1 answer

Error creating javax.microedition.rms.RecordStore in NetBeans 6.0

I'm trying to write an application with J2ME that uses javax.microedition.rms.RecordStore to store persistent data. I'm developing this project in NetBeans 6.0 and J2ME 2.2 on Gentoo. When I try to run the project, I get an error because apparently…
David Z
  • 128,184
  • 27
  • 255
  • 279
2
votes
2 answers

Show only 2 commands in the menu bar in Lwuit or Native J2ME

I added 2 commands to my form in lwuit. form.addCommand(test); form.setBackCommand(exitCommand); I changed the command behavior to COMMAND_BEHAVIOR_NATIVE, so i can show the status, and my commands appear at the bottom too, but they appear exit at…
Reham
  • 1,916
  • 6
  • 21
  • 45
2
votes
1 answer

Semitransparency / Alphalevels in J2ME?

My first question on stackoverflow, so my apologies if I'm missing something. I read in a reply in another J2ME transparency question from 2009 here at stackoverflow that "You should note that alpha is sometimes ignored on some implementations and…
mr_lou
  • 1,910
  • 2
  • 14
  • 26
2
votes
1 answer

How to send a text SMS to J2ME from an Android application?

I'm trying to send an SMS from Android to a J2ME application. The issue I'm having is that J2ME applications listen on a specific port for incoming SMS messages and I can't get my Android app to send a text SMS to a port. I've tried sendDataMessage…
2
votes
1 answer

Know when the device is completely turned on

I am developing an application where I want to integrate the SQL database in it. As far my code works fine. I made the application auto-run on startup and I check immediately for SDCard presence. If present I will create the database on SDCard and…
Farid Farhat
  • 2,300
  • 1
  • 16
  • 29
2
votes
1 answer

J2ME-App not connecting with internet in Nokia c1-01

I have made one Application which requires internet connection so that I can display some data in my app. But when I test my that app in Nokia c1-01 it can't get data from my server and at the same time if I check my app in any other device they…
dhrut
  • 147
  • 1
  • 9
2
votes
1 answer

LWUIT HtmlComponent NoSuchElementException

I'm getting HtmlString From Rss File after parsing.I want to remove all html tags and need to display only the pure text on my Form,For that I've referred LWUIT HtmlComponent Class and I used below code: private void…
String
  • 3,660
  • 10
  • 43
  • 66
2
votes
1 answer

Writing contacts to SIM in j2me

I have developed an app in J2me, using on Nokia X2 and c2-05. I do access contacts from the database and write down in the memory, it was working fine until I used phone memory to write contacts, but Now I want to write contacts only to the SIM…
Saqib
  • 1,120
  • 5
  • 22
  • 40
2
votes
0 answers

How to show current location (the green dot) on MapField in Blackberry Java SDK

Here's the frustrating problem. As you know, we can use net.rim.device.api.lbs.maps.ui.RichMapField in blackberry api to integrate the map feature into our mobile application. So I use it in my application. The RichMapField works fine, as I can see…
Lewis Z
  • 498
  • 7
  • 16
1 2 3
99
100