| | |
J2ME -> Android
Thread Solved | View First Unread |
•
•
Join Date: Jun 2009
Posts: 42
Reputation:
Solved Threads: 1
Hi everyone,
I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help
As far as I understand - I need to develop an abstraction layer between J2ME and Android. As both are mainly Java, this should be fairly simple. Basically, a J2ME application has to be able to somehow run on a Android base. All the already developed J2ME applications can then just run on a Android phone using an intermediary 'translation' layer without need of any modification what so ever.
I suppose that means I'm developing mainly in Android. The complicated part is that both the J2ME and Android parts are not allowed to use native GUI functions, it all has to be drawn manually from the Java Canvas class, thus making it more generic. So we can assume that all the J2ME applications will adhere to this rule.
I'm pretty stuck on where to go from here. I know some basic J2ME at this point in time. I'm really looking hard for resources to help with this project. A lot of the stuff I can find includes native UI functions which I cannot use and I do not want to waste my time running in circles and learning things that I dont need.
If someone can point me in the right direction with how to start on these 'interface' classes I will be very grateful. For now I just want to get a basic example that I can work off so things can start making sense.
Something like:
1. Getting a J2ME application that uses the Canvas for something simple like plaintext and a border (Done)
2. Getting a Android application that does the same thing using the Canvas (Almost Done)
3. Creating a over simplified abstraction layer just to convert the J2ME plaintext and border to Android-interpreted code.
I will eventually have to sit down and scope out all the classes and things that will need an abstraction layer or "interface class". For now I just need a starting point...
I will be eternally grateful if someone can help me =)
I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help

As far as I understand - I need to develop an abstraction layer between J2ME and Android. As both are mainly Java, this should be fairly simple. Basically, a J2ME application has to be able to somehow run on a Android base. All the already developed J2ME applications can then just run on a Android phone using an intermediary 'translation' layer without need of any modification what so ever.
I suppose that means I'm developing mainly in Android. The complicated part is that both the J2ME and Android parts are not allowed to use native GUI functions, it all has to be drawn manually from the Java Canvas class, thus making it more generic. So we can assume that all the J2ME applications will adhere to this rule.
I'm pretty stuck on where to go from here. I know some basic J2ME at this point in time. I'm really looking hard for resources to help with this project. A lot of the stuff I can find includes native UI functions which I cannot use and I do not want to waste my time running in circles and learning things that I dont need.
If someone can point me in the right direction with how to start on these 'interface' classes I will be very grateful. For now I just want to get a basic example that I can work off so things can start making sense.
Something like:
1. Getting a J2ME application that uses the Canvas for something simple like plaintext and a border (Done)
2. Getting a Android application that does the same thing using the Canvas (Almost Done)
3. Creating a over simplified abstraction layer just to convert the J2ME plaintext and border to Android-interpreted code.
I will eventually have to sit down and scope out all the classes and things that will need an abstraction layer or "interface class". For now I just need a starting point...
I will be eternally grateful if someone can help me =)
--
Avasulthiris
"Angelheaded hipsters burning for the ancient heavenly connection to the starry dynamo in the machinery of night." - Ginsberg
Avasulthiris
"Angelheaded hipsters burning for the ancient heavenly connection to the starry dynamo in the machinery of night." - Ginsberg
0
#3 34 Days Ago
NO there aren't any free ebooks that are legal however there is Android Essentials and Android: A Programmer's Guide with limited preview from Google Books
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 1
Hi, I'm working on the same thing as you do! Developing the abstraction layer for porting j2me code to android. Contact me please at <EMAIL SNIPPED>, we will find something to share thanks
Last edited by peter_budo; 15 Hours Ago at 3:09 pm. Reason: Keep It On The Site - Do not post asking for an answer to be sent to you via email or PM.
![]() |
Similar Threads
- Help needed with J2ME (Java)
- News Story: Google's Android Catching Up to iPhone (Pay-Per-Click Advertising)
- News Story: Code Tool For Android Touches Down (Pay-Per-Click Advertising)
- News Story: Watch Out iPhone; The First Android Phone is Coming Oct 20th (Apple Hardware)
- J2ME Application Lead Developer (Software Development Job Offers)
- J2ME User Interface Developer (Software Development Job Offers)
- News Story: World's First Android Powered Phone Revealed (Pay-Per-Click Advertising)
- News Story: Android is poised to launch (Pay-Per-Click Advertising)
- News Story: Google Contest Spawns Apps, Android Market (Pay-Per-Click Advertising)
- News Story: Nokia punches Google right up the Android (Pay-Per-Click Advertising)
Other Threads in the Java Forum
- Previous Thread: java reporting
- Next Thread: String[] -> Split -> ArrayList
| Thread Tools | Search this Thread |
3g 3gs 500 2008 android apple appstore armschip asuseee battery blackberry blackhat bluetooth browser cell cellphone cellphones clone content data dataloss deploy development directory downloads free g1 gadget google handsets hardware internet iphone iphone3g ipod j2me java keynote laptop law linux livemesh lowpower macworld mcafee microsoft mobile mobilephone mobility motorola multiple netbook netbooks network news nokia o2 onlineads opengl openness opensource opera os palm phone phones playready police porn portable power review rim samsung security sex smartphone smartphones sms software softwaredevelopment solar sony spam staticcodeanalysis symbian t-mobile technology telephony texasinstruments touchscreen trademark uk virus vista web webservice windows wireless yahoo








