using C/C++ code in android on windows

by amateur » Wed, 14 May 2008 12:18:36 GMT


Sponsored Links
 i have searching for ways to use C/C++ code in android. i got some
details regarding this but they were for linux and only directed to
arm gnu toolset. please can anybody help me with this on windows xp.
--~--~---------~--~----~------------~-------~--~----~



using C/C++ code in android on windows

by amateur » Wed, 14 May 2008 12:18:49 GMT


 i have been searching for ways to use C/C++ code in android. i got
some details regarding this but they were for linux and only directed
to arm gnu toolset. please can anybody help me with this on windows
xp.
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Need advice for implementation "best practices" for multi-level game

I'm working on a multi-level game using the Lunar Lander example as my
"base". IOW, I'm using an activitiy with a view, and doing sprite
animation.

I can easily enough change the background image and work the sprites,
but I'm having a heck of a time figuring out how to handle the "in
between" pages. My game is sort of like a visual novel (Trauma Center
as one example) in that as you complete each level, I then want to
give a page or two of story explaining why you are going to the next
level, and explaining a bit about the new challenges on it.

My first (somewhat lame) attempt was to setup an AlertDialog. However,
doing the AlertDialog build using the mContext keeps causing my
application to "unexpectedly quit". Probably not the best way to do it
anyhow.

Should I be thinking of creating another activity and then go to it
for the couple pages of explanation each time and then come back? If
so, I presume I really want to prerender the page to be shown rather
than use strings in a text view (i.e. have a graphic with the text on
it)? Other suggestions?

Thanks in advance!

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

2. Few programming problems.

I have a few questions lied on programming in Android:

1. How can I update Android phone contacts? I have this code that
doesn't work. the error message is "ERROR/AndroidRuntime(196):
java.lang.UnsupportedOperationException: Cannot update URL:
content://contacts/people/22/phones"

ContentValues values = new ContentValues();
                Uri uri = Uri.parse("content://contacts/people/" + _id);

                Uri phonesUri = Uri.withAppendedPath(uri,
                                Contacts.People.Phones.CONTENT_DIRECTORY);

                values.put(Contacts.Phones.TYPE, Phones.TYPE_MOBILE);
                values.put(Contacts.Phones.NUMBER, 
phones.get(Phones.TYPE_MOBILE));
                getContentResolver().update(phonesUri, values, null, null);
                values.clear();

2. How do I read IM (yahoo, sckype, gtalk) accounts from an Android
table? Where are this accounts saved?

3. I tried to send emails using this code:
http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/
but it does not work? The error is "ERROR/AndroidRuntime:
java.lang.VerifyError: javax.mail.internet.MimeMessage".

Please give me a solution to this problems.

Thank you

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

3. read IM Contacts

4. new Socket("10.0.2.2", 2142)

5. Modifying Phone Information

6. Can I record an audio file via MediaRecorder on the simulator which based on android-sdk-windows-1.0_r1?

7. compatibility between Android (beta version) and GWT 1.5.1