944,164 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 7444
  • Java RSS
Oct 20th, 2009
0

J2ME -> Android

Expand Post »
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 =)
Similar Threads
Reputation Points: 11
Solved Threads: 1
Junior Poster in Training
Avasulthiris is offline Offline
54 posts
since Jun 2009
Oct 20th, 2009
0
Re: J2ME -> Android
My apologies if this is a bit over the top...

Does anybody have any resources or ebooks for Android that I could use in the meantime?

Thank you
Reputation Points: 11
Solved Threads: 1
Junior Poster in Training
Avasulthiris is offline Offline
54 posts
since Jun 2009
Oct 20th, 2009
-1
Re: J2ME -> Android
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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Nov 23rd, 2009
0

Android project

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; Nov 23rd, 2009 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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
cyberspetz is offline Offline
1 posts
since Nov 2009
Nov 24th, 2009
0
Re: J2ME -> Android
Your email has been snipped. Please provide me with alternate means to contact you in a private message. Thank you
Reputation Points: 11
Solved Threads: 1
Junior Poster in Training
Avasulthiris is offline Offline
54 posts
since Jun 2009
Aug 3rd, 2010
0
Re: J2ME -> Android
Apparently somebody else have already produced what u 2 r trying to do at this site http://www.netmite.com/android/
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jfoo111 is offline Offline
1 posts
since May 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Struck in Encoding ?????
Next Thread in Java Forum Timeline: Reading from output





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC