Get infomation from Compressed XML file in Android application -



Get infomation from Compressed XML file in Android application -

i have compressed(.gz) xml file on server. need read file , info store in sqlite db

have access server via https.

"https://server_address/path/employee.gz"

normally when log in server folder these xml files stored, asks me user name , password. in code how handle this.

i searched didn't exact 1 need. great if can help me in this. thanks.

depending on how reading https, gzipinputstream might work. http://developer.android.com/reference/java/util/zip/gzipinputstream.html

also, @ http://developer.android.com/reference/org/apache/http/auth/usernamepasswordcredentials.html accessing password protected directories http.

android xml https gzip gz

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -