Some folders will always be private. You cannot just hack into those folders
without rooting your phone.

In short, there is no way.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Tue, Jan 4, 2011 at 3:18 PM, ADPool <[email protected]> wrote:

> Hell everyone,
>
> I am working on an applicaiton that requires to access VPN setting
> information, howevery I am encountering a permisison denied issue whne
> the application accesses VPN setting on /data/misc/vpn folder (Android
> 2.2 OS), can anyone help how to resolve this issue, did I miss any
> users-permission setting in AndroidManifest.xml?
>
> java.io.FileNotFoundException: /data/misc/vpn/profiles/
> 4599898380687054558.pobj (Permission denied): /data/misc/vpn/profiles/
> 4599898380687054558.pobj (Permission denied)
>
> Here are the users-permission setting in AndroidManifest.xml now:
>
>    <uses-permission android:name="android.permission.WRITE_SETTINGS" /
> >
>    <uses-permission
> android:name="android.permission.WRITE_SECURE_SETTINGS" />
>
> Thanks in andvance,
>
> ADPool
>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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