APK to zip: Precautions for downloading files from Android apps to servers

Source: Internet
Author: User

[Author: Zhang banquet this article version: V1.0 final modification: 2010.01.20 reprinted please note the original article link: http://blog.s135.com/android_apk_zip]

The day before yesterday, a colleague from Kingsoft network asked me a question: many users reflected that the androidmobile app file on the website was xxx.apk and downloaded in IE browser. The extension name was automatically renamed xxx.zip and cannot be copied to the mobile phone for installation. I found that because the APK file itself is a compressed package, if the user's computer is installed with WinRAR (85% installation volume, use IE to download the APK file, the extension name will be automatically changed to unzip .zip ".

If your download server is an nginx server, use CONF/mime in the nginx installation directory. location of the types file. Add the following statement to specify the MIME type of the APK file as application/vnd. android. package-archive:

Application/vnd. Android. Package-archive APK;

Many websites have been automatically renamed "“xxx.zip" during the download of xxx.apk6. some of them are well-known websites that provide Android download, such as Sina Weibo and jiebian.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.