Android Question 401-Unauthorized

supriono

Member
Licensed User
Longtime User
hello every one...
last time i want to get image from IP camera it work fine
but when i chage diferent IP camera (EDIMAX 3115W) i have same error like this
"401-Unauthorized"

edimax 3115W
this is my URL to get access image.

http://192.168.1.101:80/snapshot.jpg?user=admin&pwd=1234
user : admin
psw : 1234

i think before get image, must log in to IP camera with user and pas
can same body help me.how i do fix it??
may be same trik how to use HttpUtils2 for automatic autentification

thanks....
 

supriono

Member
Licensed User
Longtime User
browser autentifikasi might like this:
for first connection i must login
then for the snapshot I don't need to log in again.
log in just once(autentifikasi only need for fist conection)
fist log in
3hastmjUN_nAgEcQc7oxW3BIAdJji7d497A1NHlZonI=w482-h207-p-no


after login
GgXf5x_O8b2_yNQnPfqHyxYgXpAn06mfhGcKAzK_Rbg=w311-h207-p-no
 
Upvote 0

supriono

Member
Licensed User
Longtime User
thanks erel..
now IP camera work fine.
last time i am confius with httputil2..bud now i am understand with this library...
;);):)
 
Upvote 0
Top