If you are trying to set up some sort of a notification scheme, that
would alert users to download a new release, you could try this:
On a regular basis (run a timer), check for the existence of an
"update_vx.x.html" file on your web server. Replace x.x. with what
ever represents the current version of your app. If it exists, open
the Android browser with that update file. In case you have not
explored this yet, Android uses the Intent mechanism to open apps like
the built in web browser. It is pretty straightforward from there -
put a link to the new .apk and some language that explains why the
page just popped up. User taps on the link, download new release and
voila.
It is important not to use a generic "update.html" file so you can
exercise the right level of control for pushing out updates for
specific versions.
Depending on how you need to frame your relationship with your user
base, you can administer the updates in a strict or graceful way. On
one end of the spectrum, you could implement a nag box that the user
can disable, or you can trigger a "kill switch" type scenario that
requires users to update right there.
Hope this helps.

On Dec 3, 2:53 am, Adrián <[email protected]> wrote:
> Hello,
>
> I am looking a way to publish a private application on an own web
> server.  I know that Android phones could download an apk file and
> then I could install the application from the file downloaded. I
> prefer to install the application directly by clicking the link but it
> doesn't matter.
>
> But the important thing is the update of the application, how could I
> publish updates using my own web server ?
>
> Regards.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to