Hi, Dianne

I find an api with the name "java.lang.System.loadLibrary
<http://code.google.com/android/reference/java/lang/System.html#loadLibr
ary(java.lang.String)> "

Is this api not supported in Android SDK now?

Thanks

With best wishes

Jerry

 

From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Dianne
Hackborn
Sent: Wednesday, February 04, 2009 11:25 AM
To: android-developers@googlegroups.com
Subject: [android-developers] Re: [android-developers]Using JNI to call
C lib on android platform

 

Sorry, native code is not currently supported in the SDK.

On Tue, Feb 3, 2009 at 6:27 PM, Jerry Yang <jer...@intertrust.com>
wrote:

Hi, all

Does anyone have any information about using the external C written lib?

I have a C lib(no user interface, can be compiled like dll or lib) that
need to be used in the app, but I cannot find any document in android
SDK about how to use the external lib.

 

My idea is: I should cross-compile the lib with arm based detain GCC and
use the interface to Android app. Any one has any document or example
about this?

Appreciate for your help!

 

With best wishes

Jerry Yang

 

 

 

 




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to