java-me

Code J2ME applications with Visual Studio 2008?

I am currently using netbeans 6.7 to develop some j2me apps for a phone. However, I am not very fond of the netbeans IDE and its clunky debugger and would rather use Visual Studio for development. Does anyone here have a tutorial on how to use Visual Studio 2008 to compile and debug J2ME apps? I would like to tie VS2008 up to an emu...

Trouble stopping a loop

I'm having trouble with memory in a j2me application. (see another question) I discovered that one class has a loop that doesn't stop until the application is closed. This loop is consuming all the memory available. I didn't make this class so I don't know why things was done this way. So any suggestions are welcome. Here is a simplif...

Which codec + encryption method makes it easy for streaming J2ME video playback?

I want to transport video files from a desktop system to my mobile device, but I want the videos to be encrypted so the mobile video files cannot be viewed elsewhere. This means I can't decrypt the whole file, I need to decrypt it as a stream. Question: What's the best codec and encryption method to use to make the decryption easier? ...

How Do I Minimize a J2ME App?

I need my J2ME app to run in the background and still allow the user to use his mobile without problem. the app still needs to process some events in the background. I would also like to allow the user to stop the app if he wants to. How can I accomplish this? ...

Design a GUI for a J2ME app

How do I create a J2ME app for cellphones with a GUI similar to the menus you see in Java games? I've tried MIDlets with Netbeans but they only show you one GUI element at a time. (textbox, choice, login, etc) And which Java IDE would you typically design these GUIs in? Netbeans or Eclipse? and is IntelliJ IDEA usable for this aswell? ...

How to encrypt and decrypt sms?

I need to create a small mobile application that will encrypt the user selected sms to make it unreadable.after words user should be able to decrypt it only by entering proper key.we need to use J2me.Can anybody tell me how to start with it? ...

Adding a WCF reference to a j2me project

I have a wcf serivce I want to consume from a j2me application (blackberry). I have been going crazy since the tools that work fine for the j2SE used for consuming web services do not work all that well for j2me. At least not with my service. I found a useful tutorial at http://www.netbeans.org/kb/60/mobility/mobile-dilbert.html Whi...

HTTPS Connection

Hi I am making an application which has j2me in client side and dotnet on server side. I need to make an https connection to post to and fetch data from the server. Can anyone help? I tried searching on the net but i cannot find much on internet about establishing https connection. Can anyone explain or reccommend a website?? ...

what mobile platform should I start learning?

What mobile platform should I start learning? What matters is: ease popularity of platform low cost of SDK and actual handheld other criteria... ...

LWUIT list items

Hi, i need to add in list components that are not equal in height, is there a way for it to work? ...

Is there a GZIP J2ME library?

Is there a gzip compression library that will work on J2ME? ...

Reading UTF8 strings from a server through http using MIDP.

I want to read UTF-8 strings from a server that I have control of, using java MIDP. My server is sending UTF-8 data. The following code gets close: c = (StreamConnection) Connector.open( myServer, Connector.READ_WRITE); InputStream is = c.openInputStream(); StringBuffer sb = new StringBuffer(); ...

IllegalArgumentException... no ':' in url exception

no ':' in url exception am getting that exception when am trying to execute this fragment of code... FileConnection conn; try{ conn =(FileConnection)Connector.open("/NewFile.xml"); if(!conn.exists()) conn.create(); _screen.add(new RichTextField("Connection Established...")); _screen.add(new SeparatorField()); }...

Form Class in J2ME Polish

I was just wondering if the Form Class in the J2ME polish api for GUI development maintains a list of references to the Items that are appended to it. The Form that I am using has a number of text fields appended to it using the following code. form.append(new TextField(...)) and then all this goes into a for loop. How do I refer to t...

An Internal Error Occured

Hi, I am getting some internal error while building,launching,executing rapc in eclipse for Blackberry development. Im not getting why it is coming all of the sudden. I tried creating new project and copying my files to new project but it didnt work... An internal error occurred during: "Deploying Default".java.lang.NullPointerExcepti...

How to display weather using any weather website

Hello.. m supposed to develop an application in which m supposed to display weather conditions-when i enetr a city that time it should get conncted to any weather site suppose weather.com,n display only the weather conditions like humidity,rainfall,temperature,etc that is all sorts of weather conditions,but it shud not display the compl...

How to create transparent mutable Image in JavaME?

Is there any way of creating transparent mutable images in JavaME (CLDC 1.1, MIDP 2.0) ? public static Image createImage(int width, int height) Creates mutable image but not transparent one (at least not on Nokia phones!) Any other Image.create* creates immutable immages and I don't know any way of creating mutable image from immutab...

J2ME Get Specific Object from Vector

Currently I'm implementing a Persistant Storage Object for my Blackberry Application. It contains a Vector of Setting Objects. My current implemention to get specific settings value looks like this public String getSettingByName(String key) { String value = ""; for ( Enumeration e = _appSettings.elements(); e.hasMoreElements();) ...

Java - Working with Date/Time in J2ME

(1) How to extract time portion from a Date-object and use it as a String in J2ME? (2) How to convert that time-string back to Date - object in J2ME? I have done something to achieve this, but it is not showing correct-time. ...

Java Convert Object[] Array to Vector

What's the best way to convert an Object array to a Vector? JDE < 1.5 public Vector getListElements() { Vector myVector = this.elements; return myVector; } this.elements is an Object[] Thanks, rAyt I should clarify my question My target platform is a blackberry. Collections aren't supported. Array.asList() isn't, either :/ F...