[android-developers] Re: Native Shared Lib

2009-10-27 Thread David Turner
you're using the wrong path. If the library was generated with the NDK, it should be installed under /data/data/*appname*/*lib*/libnative.so Also, you could try directly System.loadLibrary(native); that will translate to the same thing automatically. On Mon, Oct 26, 2009 at 9:49 AM, Sanjay

[android-developers] Re: Native Shared Lib

2009-10-26 Thread Roman ( T-Mobile USA)
Change the following code static{ System.load(/data/data/com.android/libnative.so); } to static{ System.load(native); } and make sure that your lib is in folder data/data/your app folder/ lib (the lib is placed automatically in this folder). -- Roman Baumgaertner Sr. SW