Android 2.2 API 8

I am trying to use my app to send commands to my web camera.  The
command works using curl.

curl -u user:user http://somesite.com/decoder_control.cgi?command=28

returns OK

When using my app it gives me a 401 Unauthorized error.

Any help would be greatly appreciated.

webview.clearCache(true);
webview.setHttpAuthUsernamePassword("http://somesite.com/
decoder_control.cgi?command=28", "", "user", "user");
webview.loadUrl("http://somesite.com/snapshot.cgi";);

Kind Regards,

Mike

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