Distribute android app from my own server

元气小坏坏 提交于 2019-12-22 09:11:14

问题


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?


回答1:


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




回答2:


You just have to upload the .apk file to your own server then point the link to it and everyone can download and install it if the user have enabled the option "install from other sources" in their device.



来源:https://stackoverflow.com/questions/11776552/distribute-android-app-from-my-own-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!