Hello,
I am calling a URL from the Android phone
This URL is supposed to move a camera connected on the same network
Here is the code for the URL:
url = new URL("http://10.0.1.90/axis-cgi/com/ptz.cgi? camera=1&move=home");
URLConnection cameraConnection = url.openConnection();
cameraConnection.connect();
I get no response when I run this code from the phone. Is this the
right way to call a URL from an Android phone ? Any suggestions ?
Thanks in advance
I am calling a URL from the Android phone
This URL is supposed to move a camera connected on the same network
Here is the code for the URL:
url = new URL("http://10.0.1.90/axis-cgi/com/ptz.cgi? camera=1&move=home");
URLConnection cameraConnection = url.openConnection();
cameraConnection.connect();
I get no response when I run this code from the phone. Is this the
right way to call a URL from an Android phone ? Any suggestions ?
Thanks in advance