0

How do I make my background process of my app make a alert message when a particular specified app with a package name started opening.

I want my background process to fire a alert message when a some other apps gets open.

tshepang
  • 11,360
  • 21
  • 88
  • 132
  • 2
    unless your app is a launcher app you dont know when or what app is opened – tyczj Dec 12 '14 at 17:05
  • Can you provide more details about what exactly you want to do as this is somewhat vague – Mightian Apr 18 '15 at 13:54
  • Check for currently launched application in loop (by 100-300ms), see: http://stackoverflow.com/questions/3290936/android-detect-when-other-apps-are-launched – Marek Sebera Apr 18 '15 at 13:58

0 Answers0