On Oct 26, 2:18 am, David Kebo <[email protected]> wrote: > 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 ? > Thanks in advance
Hi, Maybe the PTZ URL is a streaming URL that you must keep alive. Using HttpClient might be better. "No response" - the connect() call doesn't return? Or no input is received? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

