if I include the classes.zip of J2Me ??

by Sudha » Fri, 24 Oct 2008 15:26:35 GMT


Sponsored Links
 hi
I have a stupid question
suppose thru the eclipse if I put the J2Me classes.zip file to my
android project.
and I just create an Activity and a view which
only calling or directing the lifecycle methods of j2me
will it work ?

I am dare to try this out...
can anyone show some light on this
--~--~---------~--~----~------------~-------~--~----~



if I include the classes.zip of J2Me ??

by nkijak » Fri, 24 Oct 2008 20:01:02 GMT


 Did you try in the emulator? Probably be quicker than waiting for an
answer here.



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


Sponsored Links


if I include the classes.zip of J2Me ??

by Dana Li » Fri, 31 Oct 2008 02:01:03 GMT


 No, You cannot include J2ME classes inside android because android is not
compatible with J2me platform and its working mechanism is not the same as
midlet.

Dana







-- 
Dana

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



Other Threads

1. How does ListActivity create multiple list items

> My understanding of the documentation is that to give a custom look to

Close. There are actually two layouts you provide: one for the activity,
and one for the rows.

The one for the activity needs to have a ListView with the android:id of
"list". You connect this layout to the activity via setContentView(), like
you would for any other activity.

The constructor of the Adapter you use with your ListView will take the
R.layout name of a second layout, this one for the rows.

You are also welcome to override getView() on the Adapter, which will
ignore the second layout and allow you to construct the rows by whatever
means you see fit (manual constructors, ViewInflate, etc.).

Later this month, I'll be writing up a tutorial on AndroidGuys about all
this.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


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

2. How the android based application run

Can the application developed on the Android platform run on any kind
mobile? or just on the mobile with JVM installed, or must on the
mobile with Linux os, or must on the mobile linux os and android
library installed?

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

3. SDK Update?

4. Mobile Intelligent Traffic Systems

5. How does ListActivity create multiple list items

6. Wall Street Journal article today - are things going down the drain for independent developers?

7. Intent object for text input