C programming

by Michael Dorin » Tue, 15 Dec 2009 23:26:31 GMT


Sponsored Links
 Ok, I see all the examples on how to make a hello world program in c,
but all of them have you do an adb shell to run it.
Assume I want to have my c program do the useful things it already does and
use java for the UI, how would I launch my c program?
How do I bundle everything, java, c, into one distributable package?
Thanks,
 Mike

--



C programming

by Sean Hodges » Wed, 16 Dec 2009 00:25:20 GMT


 


This is probably best asked on the android-ndk mailing list.

My understanding is that you can place your C library into the lib/
directory of your project, and it becomes accessible to your Java code
via JNI calls. You'll probably get a better answer on that list
though.

--


Sponsored Links


Other Threads

1. Prevent screen rotation

I've got an app where I don't want the screen to rotate when they
rotate their device -- I need to keep the app in portrait mode all the
time.  How do I do this?  Thanks.

-- 

2. Errors in sample code

Anytime I open a new project using sample code included in the Android
SDK it has errors all over the place and I obviously not run the app
in the simulator.  What am I doing wrong?

-- 

3. problem in android.process.acore

4. getDuration() in VideoView returns -1 !!!

5. Google Maps API: ItemizedOverlay

6. Programmatically remove permission

7. Moving CursorAdapter cursor creation to background thread