应用程序的Andr​​oid后,通知上安装的设备 - 如何? [英] Android Notification after App is installed on device - How to?

查看:120
本文介绍了应用程序的Andr​​oid后,通知上安装的设备 - 如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想补充一个状态栏通知我的Andr​​oid应用程序。该通知应在安装应用程序后,在状态栏显示。我有一个后台服务的应用程序,它是在那里我可以把通知code。我如何触发安装应用程序后,才通知?

任何有识之士来解决这个问题将是非常有益的。

感谢。

解决方案
  

我如何触发安装应用程序后,才通知?

您无法做到这一点。没有你的code将在安装立即运行。

I would like to add a Status Bar Notification for my Android App. This notification should be shown on the Status Bar after the App is installed. I have a background service for the App which is where I could put the notification code. How do I trigger the Notification only after the App is installed?

Any insight to solve this problem will be very helpful.

Thanks.

解决方案

How do I trigger the Notification only after the App is installed?

You cannot do this. None of your code will run immediately upon install.

这篇关于应用程序的Andr​​oid后,通知上安装的设备 - 如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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