In general I would first check whether you can connect to a server
which is on your local LAN.

For example setup Apache and see whether you can programmatically
connect. If this works fine, then you camera should be also
reachable.

My next question would be, what happens if you try to connect from
your PC with the camera?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Nov 2, 9:42 pm, David Kebo <[email protected]> wrote:
> An suggestions ?
>
> On Oct 25, 12:18 pm, 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
>
>

-- 
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

Reply via email to