Hello,

I'm looking for some advice understanding the cause of the following
exception in my app:

Caused by: java.lang.SecurityException
     at android.os.BinderProxy.transact(Native Method)
     at
android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:
146)
     at android.os.ServiceManager.addService(ServiceManager.java:72)
     at android.net.vpn.VpnManager.startVpnService(VpnManager.java:
102)

This is happening on a 3.2 tablet when I attempt to start the VPN
service, whereas the same code/app runs fine on a 2.2 device (phone).
What is the root cause of such an exception? Does anyone know if 3.x
has added restrictions to prevent apps from starting the VPN system
service? Advice appreciated.

-Mike Ellery

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