-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app退到后台不展示 #3
Comments
希望得到您的回复,谢谢 |
可以显示的 你app 是不是已经关了 还有就是要放在ui 线程 |
` Handler handler = new Handler() {
private void showMsgF() {
` 我已经判断出当我按下Home键的时候程序没有退出,只不过是从前台变为后台运行。但是,问题是:当程序退到后台时候,headsup就不展示了,只是通知栏上有消息推送的展示。 |
你把代码放在 ui线程试试 |
你好,这个悬浮窗效果在android 5.0 的手机上,一旦退出前台就无法展示了,而在6.0上如果设置了 .setFullScreenIntent(pendingIntent, false) 这个属性,不管是true,还是false,都没有通知,而是直接就跳转了,pendingIntent 设置的界面了,但是如果不设置就只是普通的通知效果而已。想问下,怎么解决 |
你好,我想请问下,这个Demo在程序按Home键回退到主界面的时候headsup就不再展示了,请问这个问题应该怎么解决呢?
The text was updated successfully, but these errors were encountered: