java-me

Decent J2ME developer communities for China, Japan, Taiwan, HK?

We're evaluating a potential investment opportunity to port our J2ME applications from English/UK to Far Eastern markets. We're having trouble finding ANY information about things such as handsets, platforms, etc., and in particular, operator/carrier policies regarding supported network functionality and policies. We have reams of quest...

j2me network connection

I have read in many places that network connection in a j2me app should be done in a separate thread. Is this a necessity or a good to have? I am asking this because I could not find anywhere written that this must be done in a separate thread. Also, when I wrote a simple app to fetch an image over a network and display it on screen (w...

How Long Does it Take to Learn Java for a Complete Newbie?

I have absolutely no programming experience but need to learn Java - enough to take a J2ME fasttrack course. I only have 10 weeks. Can I do this? What's your advice about the best resources I can use ?(currently using Sun's Java Tutorials). ...

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 conn = null; try { conn = Connector.open( url ); // do something here ...

XML creation in blackberry

Hi, I want to create an XML in blackberry as there are classes for that like Document and Element but i want the xml in String format is it any way to that .Is any API avialable in blackberry for doing the same ...

Code to send SMS using J2ME

Hello, Can someone help me with code to send SMS using J2ME? Thanks ...

J2ME - Code once and run everywhere?

Can I code once in J2ME and run it on any mobile phone just like I can using the .Net compact framework? Thanks ...

java.io.IOException: General socket error

Hi, I am testing a simple socket program which connects to a server in local area network. I am using Blackberry Pearl 8100 simulator to test this.Also tested on 8900 simulator. But did not work on either. The error is displayed as : java.io.IOException: General socket error Is it that networking programs cannot be tested on simulato...

Smartphone for use with the NXT

Greetings. I will be getting a new smartphone for work. It needs to work with Telus, so the iPhone, and Android-based phones are out. The available phones appear to be include a number of BlackBerries, HTC phones, Motorola phones, as well as LG, Samsung, and ZTE phones. I have a LEGO Mindstorms NXT robot, and would like a phone for w...

Better approach for XML Creation in Blackberry

Hi there, I am facing a problem, I have created XML file,but I can't view it/output it.I know there is no way to output created XML file. Can anyone please suggest what is better way of creating xml files? 1) create xml with DocumentBuilderFactory and then parse it Or 2) manually create hardcoded xml and save it on sd card and then acce...

Setting Midlet Icon using J2ME-Polish

I'm using J2ME Polish version 2.0.7 together with ant to build my Midlet application. In order to specifcy the main-class, name and icon of the application, the J2ME Polish documentation suggests that I use the midlet element inside the build element. <build usePolishGui="false" > <midlet name="My Killer App." icon="/logo.png" clas...

How to describe an ASP.NET Web Service ENUM for JSR-172 (Java ME) Consumption

I have .NET Web Service and I am trying to use that web service from a Java Mobile phone. I am also using the NetBeans development environment with the web service tool kit. When I try to create the proxies, it falters on the enumerations stating that the simple types are not supported. Is there a way to describe the enumeration type in ...

How to use APDU in JSR 177 to access the sim card?

J2ME provides JSR 177 which has APIs to access the SIM as a smart card. I want to explore this more and see what all I can do with this, but, I cant find any documentation with respect to that. All documentation that I have found so far is very generic and only mentions how to access a smart card with the APDU APIs and not how I can use ...

Change color of specific text only in text box of BlackBerry

Hi there, How to change color of specific text only in textbox for Blackberry applications ? Please help. ...

Calling System.gc() in mobile

I have to maintain a j2me application. There is a lot of System.gc() inside the application. Before calling System.gc() all the attributes are setted to null. Does setting attributes to null make sense? Does calling System.gc() make sense? Shouldn't the jvm call the garbage collector when is necessary? ...

First steps to begin developing with J2ME

I am a .NET programmer who needs to port one good Desktop OTP system already at work to be used into cell phones. As far I know J2ME is the correct answer to do it. I'll appreciate any good advice about IDE, first steps, books or any other information. Thanks in advance. ...

Any good example or advice about using AES encryption in J2ME?

I'm connecting mi cell phone application in J2ME to a web service and I have to send a SHA256 hash to it in order to validate some data received. I also need to be capable to store some information encrypted into the cell phone. I was thinking to use AES (rinjdael) symmetric encryption. Anyone knows about any code example using AES enc...

Customized Checkboxes

Hi, I am trying to implement image as checkbox. I have a list with 2 columns and I want to display checbox image on right side, as a third column.On clicking that image ,the image will be changed to a different one. In which way I can do this? Please help. ...... ...

Making http request in J2ME

I'm maintaining a J2ME application where I found a http request to http://www.google.com in application initialization. I asked the developer why there is a request to google. He said that this way the other requests that the application makes would be faster. I removed this request to google.com and the other requests got slower. Can ...

Seed Mechanism does not work fine for BlackBerry

Hi I have created AES key in java using seed mechanism and the same thing using BlackBerry. My input string for Seed is same in both of these case. But I am getting different AES. But the created AES key should be same. Is there any online help for creating AES key using seed mechanism for BlackBerry Thanks Deepak ...