从我自己的服务器分发android应用 [英] Distribute android app from my own server

查看:238
本文介绍了从我自己的服务器分发android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个Android应用。我只想从我自己的服务器分发它。我不想把它放到Google Play上。可能吗?如果是,我该怎么办?

解决方案

步骤:




  • 在Web服务器上为 apk 配置 MIME-TYPE 作为 application / vnd.android.package-archive

  • >
  • 为此,您必须先以正常方式以
    准备发布应用


  • 在您的
    网站上托管可发布的APK文件
    ,并为用户提供下载链接。




工作原理:



当用户从其Android设备上浏览到下载链接时,文件将被下载然后 Android系统自动开始在设备上安装



缺点:




  • 但是,安装进程将仅在
    用户将其设置配置为允许安装
    应用程序时自动启动 来自未知来源




  • 如果您想获利应用程序,则必须处理,而
    自己跟踪所有财务交易并且您将无法
    使用Google Play的 ,以防止
    未经授权安装和使用您的应用程序。






注意:



说了它的弊端,由您决定要坚持哪一个



参考


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

这篇关于从我自己的服务器分发android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆