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. TTS through blue tooth

Hello All,

How can we have text to speech happen through bluetooth?




2. Very simple problem (probably)

Hi All,

This is probably going to be extremely simplistic, but I have an
activity that does some work and is supposed to update the text view
to let the user know where the process is at (some sort of progress
indicator basically). But for some reason none of my textview updates
make it to the screen until the activity has basically completed, by
which time updates are pointless!

After the oncreate of the Activity class I have this ...

TextView tv = new TextView(this);

and then throughout the class at various points (at the moment just
one long procedure .... yeah I know ...) I have ...


etc. etc. but none of these appear while it's executing. I've tried
setting invalidate() but that doesn't seem to make it redraw. The
actual procedure itself runs fine (takes about 10-15 seconds). Do I
have to do some fancy threading to update the UI or what?



3. ButtonDown and ButtonUp events for Android buttons?

4. Keep Camera App running continuously

5. How to access the internet in emulator?

6. HTC Legend suffering Standby on Death (SOD)

7. webview with remote xml and local html