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

Java ME (J2ME) Development: NetBeans vs Eclipse

I have to develop a Java ME (formerly known as J2ME) application that will take advantage of Bluetooth technology to communicate with other instances of itself on other mobile devices. I know that both NetBeans and Eclipse offer an integrated…
Andrea Zilio
  • 4,444
  • 3
  • 29
  • 34
8
votes
5 answers

How to get the text of an exception stack trace in Java ME?

In regular Java, you can get the text of a stack trace by passing a PrintWriter to printStackTrace. I have a feeling I know the answer to this (i.e. "No") but, Is there any way to obtain the text of a stack trace in JavaME as a String? Update: I…
izb
  • 50,101
  • 39
  • 117
  • 168
8
votes
5 answers

Best Portal to buy and sell J2ME apps

There are so many app stores for any kind of platform out there, but when I try to find a good store to buy and sell j2me apps, I find some, but no really big one or defacto standard like I was used to have for the palm os (sites like palmgear sell…
rdmueller
  • 10,742
  • 10
  • 69
  • 126
8
votes
2 answers

The Cause of InterruptedException

From J2me doc we know that: java.lang.InterruptedException Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it. The question is if it's posible to get such exception if from one thread i…
Pirks
  • 322
  • 2
  • 4
  • 16
8
votes
3 answers

What's the best way to develop a cross-mobile app with bluetooth support?

I've read about the native feature-support of Phonegap here. Clearly, it makes no mention of Bluetooth support. I've failed in finding or locating any other platform with cross-mobile platform development support. As a result, I'm currently faced…
Chibueze Opata
  • 9,856
  • 7
  • 42
  • 65
8
votes
2 answers

Mobile Development barrier to entry

I'm looking at making some mobile apps in my spare time and I want to put them up online for anyone to use (and probably open-source). I've worked with PyS60 a while ago and I really liked it. My problem is, I don't want to spend any money on…
Mike
  • 93
  • 4
8
votes
2 answers

How to make a J2ME application run in Background?

I have a written a J2ME application which uses Bluetooth and search a file within the peer mobile and download it. I would like to make my application run in background , whenever I get a call , or message and later resume after few seconds , Has…
Srinivas M.V.
  • 6,508
  • 5
  • 33
  • 49
8
votes
2 answers

Try/do pattern implementation in Java

I'm a fan of the try/do (or trier/doer) pattern, which is best implemented in C# using out parameters, e.g.: DateTime date; if (DateTime.TryParse("2012-06-18", out date)) { //Do something with date } I'm currently working on a Java 1.5 project,…
Ian Newson
  • 7,679
  • 2
  • 47
  • 80
7
votes
2 answers

most efficient way to debug on Blackberry device?

I'm looking for the fastest, most efficient way to debug my java application for BlackBerry. I noticed that it takes forever just to attach the debugger to the device, using a Torch 9800 in my case. Do I have to attach it every single time I make a…
PaulG
  • 6,920
  • 12
  • 54
  • 98
7
votes
5 answers

Downgrade Java code 1.5 to 1.4 (bonus points: J2ME, Blackberry!!!)

I want to port some existing j2se libraries (e.g. Apache Compression libs) to use for Blackberry development, but there is a catch (and not just one). First, most java libs extensively use j2se collections and data types that are typically missing…
Paul Milovanov
  • 706
  • 4
  • 18
7
votes
3 answers

HTTP authentication in J2ME

I'm trying to create a J2ME app, which talks to webserver using HttpConnection connector. When I am talking to the WebServer, I have to authenticate using Basic HTTP auth, which normally goes…
Alagu
  • 2,864
  • 3
  • 26
  • 40
7
votes
4 answers

How to silence an incoming call

I am trying to silence an incoming call and prevent the BlackBerry device from ringing. I tried Alert.setVolume(0) and some EventInjector keys but this didn't work. So how to silence an incoming call?
Farid Farhat
  • 2,300
  • 1
  • 16
  • 29
7
votes
4 answers

j2me networking, threads and deadlocks

The simple piece of midlet code (class Moo) below (after the excerpts) deadlocks (At least I assume it deadlocks after reading this post on threads here). I have reproduced the relevant excerpts from the post : String url = ... Connection…
Abhi
  • 2,298
  • 4
  • 29
  • 34
7
votes
6 answers

System.out.println does not print on netbeans console

I have used Netbeans 7.0 for developing Blackberry application with LWUIT framework. And I'm using Blackberry SDK 4.7. I print a string by using System.out.println(...); in my application in many places. But the string values aren't printed on the…
bharath
  • 14,283
  • 16
  • 57
  • 95
7
votes
3 answers

Distributing state across many machines

I'm trying to write up a tool that requires knowledge of the state of other machines in a cluster (local LAN). This is for a network failover/high availability system similar to VRRP and corosync/openais, but I wish to contain more information (such…
Mike
  • 2,417
  • 1
  • 24
  • 33