Why don't you try to access the corresponding ContentProvider instead ? On Tue, Jun 2, 2009 at 4:15 PM, CodePupil <[email protected]> wrote:
> > Hi All, > > I need to access media's(which is stored on SDCard) metadata which > android keeps in database file created by its media app. Android > keeps > separate db file for each sdcard at the location /data/data/ > com.android.providers.media/databases 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) ? > > > Thanks! > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
