Re-use already existing code on the android platform

by 3,14 » Wed, 25 Jun 2008 19:17:30 GMT


Sponsored Links
 I have some questions regarding re-using existing code on the android
platform.

1) Are there any way to re-use existing C/C++ code on android
platform?
2) Where I can find limitations to the java apps for android platform?
(available libs etc)

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



Re-use already existing code on the android platform

by Fr盲ntz Miccoli » Thu, 26 Jun 2008 08:27:05 GMT


 Maybe you should try google .... Have juste a little look on the android
website and you'll have all your answers.






-- 
Frntz Miccoli
06.70.92.76.16
[EMAIL PROTECTED]

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


Sponsored Links


Other Threads

1. x86 svn repository is ready

All,
I have created a svn repository for x86 support. Due to some svn issue,
large source code import alway fail. So I have to make each first level
directory as a separate tree. When you check it out, you will have to
run a script to check out each directory separately.
Let me know if you have issue to use it.
Yi


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

2. join two tables

Hello all, I have two tables I want to (inner) join, Contacts.People
and Contacts.ContactMethods. The result will be displayed in a
ListActivity. After looking into this, it appears that I should use
CursorJoiner. So the code would look something like this:

// 1) prepare cursors
                Cursor peopleCursor = contentResolver.query(
                                Contacts.People.CONTENT_URI,
                                new String[] {Contacts.People._ID, 
Contacts.People.DISPLAY_NAME},
                                null,
                                null,
                                Contacts.People._ID);

                Cursor cmCursor = contentResolver.query(
                                Contacts.ContactMethods.CONTENT_URI,
                                new String[] {Contacts.ContactMethods.PERSON_ID,
Contacts.ContactMethods.DATA},
                                "label=\"secret identity\"",
                                null,
                                Contacts.ContactMethods.PERSON_ID);

// 2) join them
                CursorJoiner joiner = new CursorJoiner(
                                peopleCursor,
                                new String[] {Contacts.People._ID},
                                cmCursor,
                                new String[] 
{Contacts.ContactMethods.PERSON_ID});
                 for (CursorJointer.Result joinerResult : joiner) {
                        switch (joinerResult) {
                                case BOTH: // handle case where a row with the 
same key is
in both cursors

                                        // I think I'm supposed to do something 
here

                                        break;
                        }
                }

// 3) Make a list adapter from a cursor


So my question is, how to I make a new cursor from the first two?
Thanks in advance.


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

3. creating custom MIO

4. Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

5. android crash when volume up

6. Seekbar thumb animation

7. Best practice for polling a remote resource periodically