In Java application, how to load native library which depends on the third shared library

by Jiang » Wed, 26 Aug 2009 13:47:00 GMT


Sponsored Links
 Hello, guys.

I created a jni library which depends the third shared library, I must copy the 
third shared library to /system/lib, otherwise, Java application can't load jni 
library. But you know, on G1 with official OS image, /system/lib is readonly. I 
tried to call System.setProperty to set java.library.path to the location 
stored the thired shared library before load jni library, but the issue still 
exists.

Is there any one konw how to solve this issue? Thanks a lot.

BR,
- Jiang



      ___________________________________________________________ 
  
 http://card.mail.cn.yahoo.com/ 
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. GPS on Android

Hi guys,
Im trying to interface a USB based GPS device on Beagleboard running
Android eclair. I have connected the GPS device through a USB hub.

Everytime I connect the GPS device, i get the following msg on the
console:

usb 1-2.4: new full speed USB device using ehci-omap and address 5

My goal is to get the NMEA data on the console or in a file. Any idea
whr i need to start??
I was looking at the documentation given with the distribution which
talks about adding your own device etc.

Thanks in advance :)

-- 

2. htc gak bisa connect data mobile

Selamat siang,

Seperti judul diatas, hTC saya mulai dari kemaren tidak bisa connect data
mobile. Saya pakai xl (APN: xlunlimited). Sudah saya install ulang (full
wipe). sudah coba restart jaringan, dengan cara pilih jaringan lain, lalu
kembali ke jaringan XL.

Kira kira kenapa ya masalahnya? Apa ada yang pernah mengalaminya?

-- 

Salam,
Pandu Pradana

-- 
"

3. how to use same activity for different listviews?

4. WTTeaser: HH apa ini?

5. how to test activity in portrait orientation - honeycomb

6. Oauth and google apis

7. DB4O Native query time issue