加上Android应用新更新 [英] Add new updates on Android App

查看:116
本文介绍了加上Android应用新更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在Android的初学者,因为我开发一个新的Andr​​oid应用程序的工作。在项目中,我有一些问题,当用户点击一个图标,它应该重定向他点网网站我在code一样。


  1. 如果我想更新客户的移动apk文件更新就应该及时给用户下载新版本。我怎样才能做到这一点?


  2. 此外,我怎么能知道这个程序属于我的许多应用程序之间的客户设备上?


  3. 我想获取可能发生的客户设备上的漏洞和错误。我该怎么办呢?



解决方案

更好地执行GCM推送服务的应用程序发送有关更新到所有应用程序的用户发送通知。

http://developer.android.com/guide/google/gcm/ index.html的

这个框架将让您的应用程序支持推送从你的服务器通知用户,你需要在你的应用程序做只是跟踪接收推,写一个code从服务器下载新的APK,并自动安装它

您询问崩溃的第二件事报告,以便最好的选择是使用 ACRA 技术来获得对服务器的一切力量接近或logcat的你的应用程序报告

两者都非常容易实现如此享受!

I am a beginner on Android as I am working on developing a new Android app. In my project I have some problems when the user click on an icon, it should redirect him to dot net website I did in my code.

  1. If I want to update the apk file on customer mobile to update it should prompt to the user to download the new version. How can I achieve this?

  2. Also how can I know this app belong me between many app on customer device?

  3. I want to fetch the bugs and errors that may occurred on the customer device. How can I do it?

解决方案

Better to implement GCM push service in your application to send a notification about the update to all your application users.

http://developer.android.com/guide/google/gcm/index.html

This framework will give your application to support push notify the user from your server, and what you need to do in your application just track the received push and write a code to download new APk from server and install it automatically.

The second thing you asked about the Crash reports so the best option is use ACRA technology to get the your application report on server everything force close or logcat

Both are very easy to implement so enjoy!!

这篇关于加上Android应用新更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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