java-me

Calling atan function on Blackberry 4.2 JDE

Hi there. I need to calculate the arc tan value from my Blackberry Java app. Unfortunately, the blackberry 4.2 api doesn't have the Math.atan() function. Heaven knows why, but that's the Blackberry API for you. Version 4.6 of the Blackberry JDE has it, but not 4.2. Does anyone know of a workaround to calculate atan? ...

how to send schdule sms in j2me?

i want to know how to send an sms at chosen time using j2me?I know how to send sms but unable to do it at chosen time by user using date field? ...

Application crashes with Exception when using javax.microedition.media.Player

Hi, I have an application that processes data from bluetooth and send it to the web service. Recently there was a request to add sounds to the application. Now when the application processes batches of data and the player is playing constantly after a few secs I get "Application is not responding" exception. And then the process is term...

Java ME SDK 3 fails to start

I downloaded & installed the latest JDK & Java ME SDK. Both seemed to install fine. However, when I try to run the SDK, when the progress bar at the splash screen gets to "starting modules..." it hangs for a while, and then starts to pop exceptions of the form: java.net.ConnectException: Connection refused: connect at java.net.Plai...

How to Send Group Sms?

Can we send SMS programatically by selecting group from the address book using J2me? ...

Audio Streaming Using J2ME

Hi, I've got audio online in the form of MP3 files, how do I stream the audio from my J2ME app? A website give the app a list of audio to play, select the audio and it must then stream from the website. Sample code would be nice. thanks ...

How to parse the JSON response in Blackberry/J2ME?

Hi, I want to parse the response coming from the server in JSON format. I have done some googling but i can't find any library or jar kind of thing. Everywhere there is provided open source code as zip file. How can i achieve this? if there is no jar available for blackberry then how to use that open source code in my application?? T...

How do I enforce a timeout on a webservice call using ksoap 2?

I need to add a timeout to a J2ME application that uses ksoap 2 to connect to a web service. I've tried the method described as a possible pseudo timeout at http://ksoap2.sourceforge.net/doc/api/org/ksoap2/transport/HttpTransport.html, but it doesn't seem to function on this device. I'd run the connection on another thread and kill it ...

How to get local host address and subnet mask in Java ME?

Is there a way to find those values in ME (Either CDC or CLDC)? All the examples I found used SE methods. ...

How do I sign a Java midlet?

How do I sign a Java midlet? ...

Animation in Java ME

How could I implement animation in Java ME? I would want to achieve the following, I want to make a List the items in the List are animated icons with some related text description... I would like to animate all these Icons simultaneously... ...

install j2me polish with Eclipse

how can i integrate J2ME polish with eclipse i try both the way but not get success in integrate plz reply asps ...

J2ME like Sprite on Android

For my useless project of the month I'm working on a 'emulator' to run J2ME programs on Android. But now I'm stuck with the J2ME Sprite implementation. Specifically the transformations used in it. In my Sprite I have a bitmap with three character images. I would like to paint the second frame mirrored or rotated 90 degrees. What would b...

Java regexp: How common is it? And how much resource does it use?

Hi I have a quite general question about java and regular expression. If we lock at embedded use, say mobile phones with J2ME or Android, how common is it that regexp is included and how resource hungry is it? I mean regular expression is a powerful beast, and a lot of magic is done in the background to make it happen. And my questi...

abstract class with published Api but default access constructor

In the MIDP api there is a public abstract class Layer, this class has a javadoc published however it doesn't show a constructor in the javadoc. In the same api there are two other classes Sprite and TiledLayer. public class Sprite extends Layer public class TiledLayer extends Layer All these classes are in the package javax.microed...

question for terminate app in j2me but it doesnt mean quit from application

i have case in j2me .. i want terminate when app in process execute code. this is my simple code. else if (c == cmdStop) { //command berhenti browser.stop(); } public void stop(){ // No errors int errorCode = 0; // An error occurred ...

allow users to switch between input languages inside a j2me java midlet keyboard qwerty E71 and such

Hi, We have a midlet that needs to allow the user to switch input languages on the fly (its a dictionary type app) between several languages (say English to Arabic etc). All was charming in the "old days" with the numeric keypad, we handled the input ourselves matching 2 clicks on the 5 to feed the correct char to our program. Then came...

J2me Polish integration problem with Eclipse as plugin.

Hi, I am trying to integrate the j2me polish into the Eclipse IDE as plugin. I have followed all the instructions given into the j2me polish site: http://www.j2mepolish.org/cms/leftsection/documentation/installation/ide-integration/eclips/installation.html But i cant see any j2me polish updates into my eclipse. In Windows->preference...

j2me polish installing problem with eclipse IDE

Hello I want to integrate j2me polish plug-in with eclipse IDE. i run j2mepolish-2.1.2.jar and follow the procedure but in window->preference i does not get J2ME polish option and in new->project not get option j2me polish option. can any one answer, why i get this problem and how to integrate j2me polish success fully with eclipse....

web service - mobile application (j2me) file transfer

What i'm trying to do is transfer an image from the web service to the mobile client. In order to do this i've created a web service operation that returns a byte[] variable. In this method i create an .png image from a chart. After this i get the bytes from the image and provide them as a return value for the operation. this is the serv...