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. Looking for advice into best way to store images within app

It really depends on the amount of space your images would take up. If
it runs into less than 100KB, you can put them in the drawable folder.
but, anything beyond than that is not a good practice. Your final
apk's size will be huge.

the best way is to keep your images somewhere in the cloud, and access
them through the app.

Thanks and Regards,
Kumar Bibek



> 

2. About Inject CDM

berhubung si Gallery Indosat cuma bisa inject ke BB doang,
gwe barusan nyoba inject nomor StarOne sendiri,,

gwe udah update PRL, masukin NAM & A-Key,
dan udah ganti parameter SID, NID, MCC, dan channel2nya.

sinyalnya udah muncul, tapi kenapa masih ada tanda roaming ya di screen hp?
jadinya masih belom bisa nelp / terima telpon.

ada yang tau apaan lagi kira2 yang harus di setting ga?
thanks.

-- 
"Indonesian Android Community [id-android]" 

3. Android developers, kerja di Yahoo! yuk

4. Definitions are missing for setfsuid() and clone() in Bionic lib

5. 2.2 froyo ssl handshake failure with DefaultHttpClient

6. Media player FF/REW

7. Closed WTS : Motorola Milestone