[android-developers] ImageView from URL

2009-11-24 Thread David Kebo
Hello, Im trying to display a url image in an ImageView container on the screen. I see the image, but sometimes the application crashes. I am wondering if im using the stream properly. Code: URL url = new URL(http://192.168.1.111/jpg/image.jpg;); InputStream stream = url.openStream(); Bitmap bmp =

[android-developers] Re: Calling a URL from Android phone

2009-11-05 Thread David Kebo
An suggestions ? On Oct 25, 12:18 pm, David Kebo davidk...@gmail.com 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=1move=home

[android-developers] Calling a URL from Android phone

2009-10-26 Thread David Kebo
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=1move=home); URLConnection cameraConnection = url.openConnection(); cameraConnection.connect();