Hello,
i have a problem it seems that my WebClient cant open my php file:
http://service-lukas-reiner.de/gutscheinqr/users_select.php
You can test it out this php file print a "Nein".
But my Webclient cant open it i guess.
I think its because the uri: http://service-lukas-reiner.de/gutscheinqr/users_select.php.
I think the Webclient need something like that: http://111.111.1.1/gutscheinqr/users_select.php.
I mean the IP Address.
So my Question is how can in use this http://service-lukas-reiner.de/gutscheinqr/users_select.php link in my Android WebClient?
Here is my Webclient:
` private static string urlAdress = "http://service-lukas-reiner.de/gutscheinqr/users_select.php";` `//Upload Name zu Php client = new WebClient(); uri = new Uri(urlAdress); //GutscheinAktivitäten Liste Downloaden client.DownloadDataAsync(uri); client.DownloadDataCompleted += client_DownloadDataCompleted;`
Ok i got that by myselfe. You only need to do it with HttpClient and not with WebClient.
Answers
Ok i got that by myselfe. You only need to do it with HttpClient and not with WebClient.