3 messages in com.googlegroups.android-developersRe: JSR75| From | Sent On | Attachments |
|---|---|---|
| Manael | 21 Feb 2008 07:55 | |
| mathiastck | 21 Feb 2008 16:56 | |
| Bartek Teodorczyk | 28 Feb 2008 13:31 |
| Subject: | Re: JSR75![]() |
|---|---|
| From: | mathiastck (math...@gmail.com) |
| Date: | 02/21/2008 04:56:27 PM |
| List: | com.googlegroups.android-developers |
I'd love to see more people post the mappings between J2ME classes, and Android classes. People are already independantly porting open sourced J2ME apps to Android, I'm sure at some point people will have engines to automate that process too. A lot of other groups are entering mobile for the first time with android, I expect they'll want to port their application to J2ME if they want hit the current world user base.
An off google forum had a good File IO explorer for android, but it was written for the previous version of android so I don't have it's classes handy. The contact list was demo'd in google's API demos, here is the main activity:
/** * A list view example where the * data comes from a cursor. */ public class ContactList extends ListActivity {
@Override protected void onCreate(Bundle icicle) { super.onCreate(icicle);
// Get a cursor with all people Cursor c = getContentResolver().query(People.CONTENT_URI, null, null, null, null); startManagingCursor(c);
ListAdapter adapter = new SimpleCursorAdapter(this, // Use a template that displays a text view android.R.layout.simple_list_item_1, // Give the cursor to the list adatper c, // Map the NAME column in the people database to... new String[] {People.NAME} , // The "text1" view defined in the XML template new int[] {android.R.id.text1}); setListAdapter(adapter); } }
On Feb 21, 7:56 am, Manael <Nico...@gmail.com> wrote:
Hello everybody,
I know that actually there's no equivalent of the JSR75 API in Android, so there's my question : Is there another way to handle file connection and PIM ? Which API does this involve ?
Thanks for your help :)




