Click here to Skip to main content
15,347,117 members
Home / Discussions / Android
   

Android

 
QuestionAndroid development Pin
Member 1410247528-Dec-18 1:00
MemberMember 1410247528-Dec-18 1:00 
QuestionRe: Android development Pin
Richard MacCutchan28-Dec-18 1:54
mveRichard MacCutchan28-Dec-18 1:54 
AnswerRe: Android development Pin
Member 1410298328-Dec-18 16:57
MemberMember 1410298328-Dec-18 16:57 
GeneralRe: Android development Pin
Richard MacCutchan28-Dec-18 21:40
mveRichard MacCutchan28-Dec-18 21:40 
AnswerRe: Android development Pin
Mycroft Holmes29-Dec-18 11:34
professionalMycroft Holmes29-Dec-18 11:34 
AnswerRe: Android development Pin
David Crow2-Jan-19 6:16
MemberDavid Crow2-Jan-19 6:16 
Questionprogress Bar for download manager in android Pin
Member 140819737-Dec-18 23:19
MemberMember 140819737-Dec-18 23:19 
SuggestionRe: progress Bar for download manager in android Pin
David Crow9-Dec-18 13:38
MemberDavid Crow9-Dec-18 13:38 
QuestionListview item to textview Pin
Member 140794445-Dec-18 20:46
MemberMember 140794445-Dec-18 20:46 
AnswerRe: Listview item to textview Pin
Richard MacCutchan5-Dec-18 22:12
mveRichard MacCutchan5-Dec-18 22:12 
GeneralRe: Listview item to textview Pin
Member 140794445-Dec-18 23:45
MemberMember 140794445-Dec-18 23:45 
GeneralRe: Listview item to textview Pin
Richard MacCutchan6-Dec-18 0:24
mveRichard MacCutchan6-Dec-18 0:24 
QuestionRe: Listview item to textview Pin
David Crow6-Dec-18 4:52
MemberDavid Crow6-Dec-18 4:52 
QuestionPOSTING DATA FROM ANDROID TO PHP SERVER Pin
Member 1407048128-Nov-18 4:47
MemberMember 1407048128-Nov-18 4:47 
QuestionRe: POSTING DATA FROM ANDROID TO PHP SERVER Pin
David Crow29-Nov-18 17:46
MemberDavid Crow29-Nov-18 17:46 
AnswerRe: POSTING DATA FROM ANDROID TO PHP SERVER Pin
GiteHrudaya14-Dec-18 0:17
MemberGiteHrudaya14-Dec-18 0:17 
AnswerRe: POSTING DATA FROM ANDROID TO PHP SERVER Pin
GiteHrudaya27-Dec-18 22:31
MemberGiteHrudaya27-Dec-18 22:31 
QuestionDetect VPN From Android App Pin
Kevin Marois26-Nov-18 4:04
professionalKevin Marois26-Nov-18 4:04 
I'm working on an Android app that we only want to allow to run if the user has VPN'd into the network.

The question is, how do I determine if the user has VPN'd in?

I have tried the following:
var address = Dns.GetHostAddresses("www.mycompany.com").FirstOrDefault();
var hostName = Dns.GetHostName();
var domainName = System.Environment.UserDomainName;

UserDialogs.Instance.Alert(domainName, "Domain Name", "OK");
UserDialogs.Instance.Alert(hostName, "Host Name", "OK");
UserDialogs.Instance.Alert(address.ToString(), "Address", "OK");

The results are always the same, even if I'm NOT VPN'd in.

Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Detect VPN From Android App Pin
Richard MacCutchan26-Nov-18 5:04
mveRichard MacCutchan26-Nov-18 5:04 
GeneralRe: Detect VPN From Android App Pin
Kevin Marois26-Nov-18 5:25
professionalKevin Marois26-Nov-18 5:25 
GeneralRe: Detect VPN From Android App Pin
Richard MacCutchan26-Nov-18 6:53
mveRichard MacCutchan26-Nov-18 6:53 
GeneralRe: Detect VPN From Android App Pin
Kevin Marois26-Nov-18 7:26
professionalKevin Marois26-Nov-18 7:26 
QuestionRe: Detect VPN From Android App Pin
David Crow26-Nov-18 7:50
MemberDavid Crow26-Nov-18 7:50 
AnswerRe: Detect VPN From Android App Pin
Kevin Marois26-Nov-18 9:12
professionalKevin Marois26-Nov-18 9:12 
QuestionRe: Detect VPN From Android App Pin
David Crow26-Nov-18 9:17
MemberDavid Crow26-Nov-18 9:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.