java-me

J2ME and (open source) applet signing for Mobile Devices (esp. phones) - what can I do?

I've just discovered J2ME and I love the possibilities that it presents. I'm currently working on a simple application and I'd like to maybe release it as an open-source project sometime in the future. As part of my research into J2ME and mobile devices, I looked into applet signing. It seems that people who want to create applets for...

Embedded HTML control for Blackberry?

Is there any api for viewing html content from w/in your blackberry application? To be clear, I don't mean launching the browser on top of my app to view a page. But rather rendering the page w/in my app. ...

Netbeans J2ME SVG Compliance

Hello guys, I coded some svg images for a project i'm working on. But when i try to put them on a screen(form) in the netbeans software (j2me), it says "the image is not SVG Tiny compliant". I've even tried testing with svg images from Sun's WTK demo's THAT WORK when deployed but it says the same thing. Any ideas on whats gone wrong? Tha...

J2ME Reduce Image color-depth/ Compress Image size

Hi, I need to transmit the image from the mobile phone to the server. I am able to reduce the image screen size but not the memory size. I understand i have to deal with the color depth. J2ME does not seem to offer any scaling method which is available in J2SE: image rescaled = image.getScaledInstance(thumbWidth, thumbHeight, Image.SC...

Convert java 5 code using generics to code that can run on a J2ME device?

Are there any solutions or tools that transform java 5 code that uses all the new java 5 features(generics, autoboxing, varargs, static imports) into code that can run on a J2ME device? I am particularly interested in handling generics - the other features are nice to have but not mandatory. I need source code as the result of this conv...

Creating a Mobile Programming Language

I'm thinking about creating a small language that is very easy to type on a mobile phone (J2ME), What is the more appropriate language to implement in order to run it inside a mobile phone (j2me always)? Appropriate meaning, small/easy syntax, easy to type in a mobile phone. Is it lisp? Some sort of Basic/Python/Ruby (I think not...)? O...

MIDP heap vs VM heap

Some Java mobile devices have distinct heaps for MIDP and VM. What's the distinction between these two heaps, and how can a J2ME app control which is used for a given piece of data? ...

Does anyone know how succesfully use preprocessing on J2ME ?

I'll try to better explain my problem. Using Eclipse and MTJ (Mobile Tools for Java) plugin you can set some directives for the preprocessor in order to create different builds of your code, like in C/C++. My problem is that i'm unable to use this feature. I mean, when i build my sources, the resulting output contains every line of code,...

Develop Blackberry apps using native API or J2ME?

We're about to build a Blackberry application but would love some input on whether to implement using J2ME (MIDlet based) or Blackberry native (UIApplication). I understand some of the tradeoffs. J2ME will be more flexible if we want to port the app to other devices. RIM has better support for Blackberry native. The place I'm still...

Returning Arrays from .net web service to Java ME web service results in compile error of stub?

So, I'm getting some compile errors on netbeans 6.5 generated web service code for a java ME client to a c# (vs2005) web service. I've trimmed my example significantly, and it still shows the problem, and not being able to return a collection of things is pretty much a deal-breaker. c# web service (SimpleWebService.asmx) <%@ WebServ...

J2ME communicating with MS-SQL

Hi everyone, I am trying to create an integrated project in which I can update MS-SQL's database value using J2ME's application. But I need more resources/links that let me fully understand how to go about writing implementation for this. These are the few question in which I've got in mind. How do I update the data that I've got fr...

UDP send problem on BlackBerry

I am writing network application for Blackberry .This code is correct at simulator but not working at device. When i run my application on simulator, my server recieves the msg but when i run it on handheld, i get Exception (not IOException) that "null". try { byte[] b = msg.getBytes(); dc = (UDPDatagramConnection)Connector.open("dat...

Java Micro Edition (JME) SDK for Mac OS X or Linux

The question is clear from the title. Is there an SDK for the Java Micro Edition available for Mac OS X or Linux? Or does one need Windows XP to develop JME applications? ...

How to generate a hash value in J2ME?

How can I generate hash value for a byte array, in J2ME? It doesn't have to be very very secure but it should be fast. ...

How to create transparent images in Java ME

How can I create an editable but transparent image in Java ME? ...

Regular expressions in J2ME

If I wanted to implement a regex engine in JavaME (Which lacks the regex libraries), where would be the best place to start? I'm imagining there is existing regex code out there which it would be possible to use as a starting point for porting. Failing that, a good guide on how to compile and execute a regular expression would do. ...

How To Parse a URL in J2ME

I'm trying to extract the query's name-value pairs from a URL using J2ME, but it doesn't make it easy. J2ME doesn't have the java.net.URL class nor does String have a split method. Is there a way to extract name-value pairs from a URL using J2ME? Any open source implementations would be welcome too. ...

Getting base station name using J2ME

Hi all, How can get the base station name using J2ME? ...

How does one Capture MP3s in J2ME?

I was able to capture audio in the WAV format through Manager.createPlayer("capture://audio"). However, is there a way to capture audio in the MP3 format in J2ME? ...

Capturing Audio through Linux in J2ME WTK Emulator

Is it possible to capture audio in the J2ME WTK emulator on a Linux platform? Has anyone on this forum succeeded in doing so? ...