Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
346 views
in Technique[技术] by (71.8m points)

notifications - Android application current activity bring to front issue

I have a basic question for which I don't think attaching any code-snippet may help. When we press home button while an app is in front we go to the home page and the app loses its focus.

Now, My application has to have notification icon in the status bar. And as in my application, there is a possibility of having 2-3 activity visible(one above another in dialogue view). In certain situation, I am not really sure as to how could I resume such state when I press notification icon in the status bar.

But, when I press home button and then press the application icon in the home screen I get everything as expected.

So, is there any way, by which I can do the same with notification bar icon.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...