You can look into the settings code of VPN, then you know how to use
VpnManage in your own application.

在 2011 1 8 00:27,"Vivek Madathil" <[email protected]>写道:
> Hi,
>
> I would like to know the following:
>
> Android provides a VPN manager class that supports creation of VPN
> profiles (for PPTP, L2TP, L2TP/IPSec PSK VPN & L2TP/IPSec CRT VPN).
> The package is avaiable under [platform/frameworks/base.git] / vpn /
> java / android / net / vpn / VpnManager.java ]. I presume this is a
> hidden class and the VPN Manager interfaces are not exported for 3rd
> party applications. However, the system settings application uses the
> VPN Manager intefaces.
>
> What are the reasons why the VPN manager interfaces are not exported
> at the android application manager interfaces ?.
>
> Can any OEM add custom APIs for VPN Manager support (ofcourse in the
> namespace of the relevant organization). Can they reuse VPN manager
> interfaces for the same ?. Will it imapct CTS ?.
>
> BR,
> vivek.
>
> --
> You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
> To post to this group, send email to
[email protected].
> To unsubscribe from this group, send email to
[email protected]<android-security-discuss%[email protected]>
.
> For more options, visit this group at
http://groups.google.com/group/android-security-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" 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-security-discuss?hl=en.

Reply via email to