Determining Android VPN Interface/IP?

▼魔方 西西 提交于 2019-12-03 15:22:41

EDIT: One possible option here is to do a JNI system calll with the android native kit. Read the directory listing of /dev/ and grep for ppp*. Assume the earliest one is the 3G/4g connection and the latter one is the VPN.

Found out this is not possible using the current API (10). Bug Report/Feature Request:

http://code.google.com/p/android/issues/detail?id=15082

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!