>From what I know, you don't have permissions to read/write files from
outside your package.


---
[email protected]
["In theory, theory and practice are the same. In practice, they are not."]



On Mon, Dec 29, 2008 at 10:57, Amit <[email protected]> wrote:
>
> Hi All,
>
> I am trying to open the settings.db from the code, but it is not
> working. It constantly throws the
> android.database.sqlite.SQLiteException: unable to open database file.
>
> Here is what I am doing,
> SQLiteDatabase db=SQLiteDatabase.openDatabase("/data/data/
> com.google.android.providers.settings/databases/settings.db", null,
> SQLiteDatabase.OPEN_READWRITE);
>
>
> This above statement throws the exception.
>
>
> Can anybody help me out with the above issue.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to