I am trying to call a URL for code.
This URL is supposed to move a camera connected on the same network

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. Is this the right way to call
a URL from an Android phone ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to