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. how to start application in last viewed activity in previous session




How about starting the particular activity from your main activity instead
of your Application class?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

2. Drawable issues

Hi,

I am trying to resize an image in a textview (set using imagespan). I
tried using setbounds but the image is not reflected.

OnPreDraw - set the bounds
OnDraw - shows the image in some weird place - the updated position
isn't shown correctly.

Can someone please suggest any other option to resize a drawable ?

-- 

3. OutOfMemoryError: how best to transfer large video files into a byte array?

4. FAT32 file size limited to 2GB

5. save a temporary file to /cache

6. Browser Back Button

7. how to start application in last viewed activity in previous session