summaryrefslogtreecommitdiffstats
path: root/docs/html/distribute/tools/open-distribution.jd
blob: f804af24e8634c22e4b57d731fa66162c710358b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
page.title=Alternative Distribution Options
page.metaDescription=With Android you can distribute apps to users in any way you want, using any store or distribution approach.
page.image=/distribute/images/alt-distribution.jpg

@jd:body

<p>
  As an open platform, Android offers choice. You can distribute your Android
  apps to users in any way you want, using any distribution approach or
  combination of approaches that meets your needs. From publishing in an app
  marketplace to serving your apps from a web site or emailing them directly
  users, you’re never locked into any particular distribution platform.
</p>

<p>
  The process for building and packaging your apps for distribution is the
  same, regardless of how you distribute them. This saves you time and lets you
  automate parts of the process as needed. You can read <a href=
  "{@docRoot}tools/publishing/preparing.html">Preparing for Release</a> for
  more information.
</p>

<p>
  The sections below highlight some of the alternatives for distributing your
  apps.
</p>

<div class="headerLine">
  <h1>
  Distributing Through an App Marketplace
  </h1>

  <hr>
</div>

<p>
  Usually, to reach the broadest possible audience, you’d distribute your apps
  through a marketplace, such as Google Play.
</p>

<p>
  Google Play is the premier marketplace for Android apps and is particularly
  useful if you want to distribute your apps to a large global audience.
  However, you can distribute your apps through any app marketplace you want or
  use multiple marketplaces.
</p>

<p>
  Unlike other forms of distribution, Google Play allows you to use the In-app
  Billing service and Licensing service. The <a href=
  "{@docRoot}google/play/billing/index.html">In-app Billing service</a> makes
  it easy to sell in-app products like game jewels or app feature upgrades. The
  <a href="{@docRoot}google/play/licensing/index.html">Licensing service</a>
  helps prevent unauthorized installation and use of your apps.
</p>

<div class="headerLine">
  <h1>
  Distributing Your Apps by Email
  </h1>

  <hr>
</div>

<div class="figure" style="width:300px;">
  <img src="{@docRoot}images/publishing/publishing_via_email.png">
  <p class="img-caption">
  <b>Figure 1.</b> Users can simply click <b>Install</b> when you send them
  an application via email.
  </p>
</div>

<p>
  An easy and quick way to release your apps is to send them to users by email.
  To do this, you prepare the app for release, attach it to an email, and send
  it to a user. When the user open your email on their Android-powered device,
  the Android system recognizes the APK and displays an <strong>Install
  Now</strong> button in the email message (see Figure 1). Users can install
  your app by touching the button.
</p>

<p>
  <strong>Note:</strong> The <strong>Install Now</strong> button, shown in
  Figure 1, appears only if the user has configured their device to allow
  installation from <a href=
  "{@docRoot}distribute/open.html#unknown-sources">unknown sources</a> and
  opened your email in the native Gmail app.
</p>

<p>
  Distributing apps through email is convenient if you’re sending them to a few
  trusted users, as it provides few protections from piracy and unauthorized
  distribution; that is, anyone you send your apps to can simply forward them
  to others.
</p>

<div class="headerLine">
  <h1>
  Distributing Through a Website
  </h1>

  <hr>
</div>

<p>
  If you don’t want to release your apps on a marketplace such as Google Play,
  you can make them available for download on your own website or server,
  including on a private or enterprise server. To do this, you first prepare
  your apps for release in the normal way. Then all you need to do is host the
  release-ready APK file on your website and provide a download link to users.
</p>

<p>
  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. However, the installation process will start automatically
  only if users have configured their Settings to allow the installation of
  apps from <a href="{@docRoot}distribute/open.html#unknown-sources">unknown
  sources</a>.
</p>

<div class="headerLine clearfloat">
  <h1>
  User Opt-In for Apps from Unknown Sources
  </h1>

  <hr>
</div>

<div class="figure" style="width:325px;">
  <img src="{@docRoot}images/publishing/publishing_unknown_sources_sm.png">
  <p class="img-caption">
  <b>Figure 2.</b> Users must enable the <b>Unknown sources</b> setting
  before they can install apps not downloaded from Google Play.
  </p>
</div>

<p>
  Android protects users from inadvertent download and install of apps from
  locations other than Google Play (which is trusted). It blocks such installs
  until the user opts-in <strong>Unknown sources</strong> in Settings
  <strong>&gt;</strong> Security, shown in Figure 2. Users need to make this
  configuration change <em>before</em> they download your apps to their
  devices.
</p>

<p>
  Note that some network providers don’t allow users to install applications
  from unknown sources.
</p>