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.

Or:

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

Or:

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

1. stop the Google wave invitation replies? ta

i think it's safe to assume by now that the OP has run out of invitations.

even if you think not, you might want to reply directly to him rather 
than polluting the list.



-- 
jason.vp.engineering.particle

--~--~---------~--~----~------------~-------~--~----~

2. "-rdynamic" for Android toolchain

Hi

I passed "-rdynamic" to the linker when building my native c test
program. However the binary generated with this parameter is identical
to the one generated without "rdynamic". arm-eabi-nm or soslim show
that the dynamic symbol table does not contain the symbols for my
local functions, which is different from the behavior of other arm
toolchains I used before or linux gcc on my host PC.

Does anyone know how to get "rdynamic" working with the android
toolchain? Any information would be appreciated!


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. 3D MapView - Is it possible?

4. Using Preferences to Select a value in a spinner

5. simple game development

6. Verizon attacks iPh one with new 鈥楧roid鈥?campaign

7. How can I detect when outgoing call has been accepted