I need javax.microedition.io in android, what can I do ?

by Mark Murphy » Sat, 27 Mar 2010 04:57:31 GMT

Sponsored Links

JavaME is not part of Android.

So you can:

Step #1: Find an open source implementation of what you need.

Step #2: Copy it into your project and rename it to some other package
(e.g., com.rakhimov.io).

Step #3: Repeat steps 1 & 2 until you get all the dependencies resolved.

Step #4: Write a test suite to make sure it works the way you expect.


Step #1: Rewrite the code that requires javax.microedition.io to use
standard JavaSE-style I/O.


Step #2: There are supposed to be some JavaME compatibility layers
available for Android, but I do not know their names or sites off the
top of my head.

Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books 


Other Threads


Join the EyeEarn Network, and get paid to drive your car, wear T-
shirts, and more! Earn money effortlessly while you go about your day!
It fun, easy, and no experience is necessary!


2. Hey!

rabie mahamad fahaim kassim, a Chitika publisher wants to recommend you to
the Chitika network.
I am using Chitika to monetize the traffic to my website(s) and I love it.
See what they can do for you.


3. Free Dating Tips!!!

4. Free Phone Call Worldwide

5. Liver Cancer Concerns?

6. Paris hilton Video clips !!!

7. When will the next version of SDK be published