This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to detect that user open multiple apps?

 
shivmaruti singh
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a app in which we I use camera if user open another app, my app is get stop and pop up some message. Please anyone can give me idea that how do I do that ?
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An Activity's onPause method gets called when it's no longer the foreground window. So call Toast.show() from onPause to show a popup.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic