Accessing android DB(Created by Android media app) using Native code .. !!

by CodePupil » Fri, 05 Jun 2009 03:06:32 GMT

Sponsored Links
 Hi Guys,

I need to access media's(which is stored on SDCard) metadata which
android keeps in database file created by its media app. Android
separate db file for each sdcard at the location /data/data/ by associating sdcard id to
filenames e.g. external-<sdcard-id>.db

Now I need to read this db file but due to permissions(rw-rw----) I
dont be able to do that. If I excecute Native code as a root then
Obviously I'm able to access it but when I trigger my Native code
using some UI It's not able to access this db.

Could anybody throw some light on this?
How can I be able to access the db associated to sdcard using Native
code(which is triggerred thru some UI) ?



Other Threads

1. removed android library

I am using Windows and Ecilpse.  Through a few mis-clicks, I removed
the Android library from my project.  I am able to add the android.jar
file from the specific version I want but that is does not allow me to

In ecilpse, how do I add an Android library like 1.6 to an existing


2. APK dependencies

Hi, I'm developing software for Android and I would like to know if
there is an explicit way to describe in the Manifest file (or other
place) APK dependencies. The mobile code framework I'm developing need
to know, before install the APK that there is the other APK needed are
already installed in order to grant to the user that the application
will execute.
Can you help me?


3. Bayes algorithm implementation in android for image data?

4. How to test sample Bluetooth application in Android emulator?

5. Is it possible to know when the network went down/up?

6. is SetupWizardActivity in SetupWizard.apk a HOME activity?

7. First version to support localStorage