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
Post a Comment