java-me

J2ME development without Java?

I'm making my first foray into the J2ME world. I'd prefer to use a functional language to do the development. Scala used to have CLDC support, but it's no longer maintained. Bigloo seems to have disappeared. Interpreters (such as Jython) are a no-go, since J2ME apps have to be small (at least, mine has to be). I would like to know of ...

Is it possible to change Garbage Collection behavior in Java ME?

I was wondering if it is possible to tweak the way garbage collector works on JavaMe in order to improve performance somehow(may reducing the number of passages)? I´ve seen some articles about it, but mostly directed Java SE and most of them says GC is highly dependant on the maker. How much would that be. ...

Favourite Java Site

What is your favourite Java orientated website? Can be forum, news, podcast or any type of site as long as it is about the Java programming language. All flavours of Java should be considered; SE, EE and ME. ...

J2ME Html renderering

Does anyone know of an HTML rendering library for MIDP 2.0? I need to render HTML inside my application, no Javascript support required but potentially complex HTML and CSS. The only option I've found so far is PocketLearn, but I'm keen to try others. ...

How to change the BlackBerry volume, or mute it?

My current code is this: int volume = Alert.getVolume(); // reads 100 Alert.setVolume(0); It DOESN'T change the volume setting, like it would be supposed to do :( Even calling Alert.mute(true) doesn't produce any good effect. Audio.setVolume(0) also doesn't work! I'm running this on a Curve 8310. I have another software installed thou...

A J2ME lisp?

It seems that programming ON a mobile device (instead of FOR a mobile device) could be easier if a lisp existed that run on J2ME. Do you know any (preferably opensource) lisp/smalltalk apps? I searched the web and I couldn't find a working J2ME lisp. Is it so difficult to port it to J2ME? Thanks ...

Debugging j2me on a Device

Has anybody had any success ever attaching a debugger to a tethered device? I am able to debug my j2me application in the emulator, but have a lot of trouble sorting out phone-specific problems when they come up. The phone I'm using is a Nokia N95, but ideally the debug process would work on any phone. Is this possible? If so does an...

Print Stack Trace to Screen in J2ME

Is there a way to print a stack trace to screen in j2me? I have code that looks like the following, which works fine for displaying the message, but can't figure out any way to get ahold of the stack trace. try { throw new RuntimeException("This is bad stuff!"); } catch (Exception e ) { mainForm.append("Excep...

Increase heap size in j2me

Is there any way to increase the heap size for j2me on a device? I'm developing an application for a Nokia N95, but am bumping into memory issues when I try to do image processing of larger images. The phone has plenty of heap space available, but seems to restrict the amount allowed to be used by j2me to 1MB. ...

BlackBerry threading model

I've read a lot of comments mention in passing that the BlackBerry threading model deviates from the Java standard and can cause issues, but no amount of googling has enlightened me on what this means exactly. I've been developing a fairly large business application for the BlackBerry and, although I don't really have any previous exper...

Android development with Netbeans IDE

Has anybody had any success with developing for Android platform using Netbeans (5.5+ ) IDE? I know of atleast netbeans one plugin that is supposed to support it but wanted to hear if anyone is using netbeans for Android development and how easy it is to set it up. ...

How to download page for jad file at servlet?

Dear Sir/Madam, I have a java me application and now I want to place that application at the server. I want to write the download page with servlet. I mean when the user keys in the servlet url and hit to that servlet, my jad file will send to the phone(user no need to click to download button or link.After page loading, the servlet wil...

Can BlackBerry COD or ALX files be decompiled?

If I write Java software for a BlackBerry, can it be decompiled using freely available tools similar to .NET Reflector, or is it a more elaborate process? ...

getting and handling the key presses in a J2ME GUI application

Hi, i am quiet new to J2ME GUI programming (or developing with java in general), so this question might sound very basic to some of you. I am going to ask it anyway since i can't figure out how to do this. Here it is: I programmed a bluetooth TV-Remote control for cellphones in J2ME using javax.microedition.lcdui.* (Gauge, List, ChoiseG...

Sound issues on Blackberry 8330

It appears that on CDMA Blackberry 8330, almost every mp3 file I'm trying to play using J2ME, gets cut-of a few seconds before it's actual end. Does anybody has a clue? ...

How can I send a picture in j2me

How can I send a picture in j2me maybe using base64 decode and the send in post form via http request ...

Changing JTable reference at runtime - not appearing in GUI

Hi there, I'm trying to get to grips with Java ME development for the Pocket PC. I'm running the NSIcom CrE-ME emulator and building my application with NetBeans 6.5. The application is based around three tab panels, each of which have Swing components. The contents Swing components are updated at various points in the application. The...

J2ME in Netbeans (gif image problem)

I'm creating a indoor navigation application (with the intention that a user can store maps for different buildings in the phones file system). The application starts up by asking the user to select a map for the desired building. Once this has been selected, a file parser would be used to parse and convert the map data from the file. Wh...

Parsing data from txt file in J2ME

Basically I'm creating an indoor navigation system in J2ME. I've put the location details in a .txt file i.e. Locations names and their coordinates. Edges with respective start node and end node as well as the weight (length of the node). I put both details in the same file so users dont have to download multiple files to get their ma...

Setting up Mobile JUnit tests to run under JUnit

I'm using Mobile JUnit, released by Sony Ericsson for unit testing for my J2ME project. I read in the documentation that one can run the tests under regular junit with the help of a few wrapper classes. The documentation, in fact, recommends that you do this if you want to generate reports for CI builds, etc. which is exactly what I want...