简体   繁体   中英

Distribute android app from my own server

I have developed a android app. i just want to distribute it from my own server. i dont want to put it on google play. is it possible? if yes, how can i?

Steps:

  • Configure the MIME-TYPE on Web server for apk as application/vnd.android.package-archive

  • To do this, you must first prepare your application for release in the normal way.

  • Host the release-ready APK file on your website and provide a download link to users.

How it works:

When users browse to the download link from their Android-powered devices, the file is downloaded and Android system automatically starts installing it on the device.

Downsides:

  • However, the installation process will start automatically only if the user has configured their Settings to allow the installation of apps from unknown sources .

    设置

  • if you want to monetize your application you will have to process and track all financial transactions yourself and you will not be able to use Google Play's In-app Billing service to sell in-app products .

    在应用程序结算服务

  • You will not be able to use the Licensing service to help prevent unauthorized installation and use of your application.

    谷歌许可服务

Note:

Having said the downsides of it ,its up to you decide which one to stick

Reference

您只需将.apk文件上传到您自己的服务器,然后指向它的链接,如果用户在其设备中启用了“ 从其他来源安装 ”选项,则每个人都可以下载并安装它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM