android - Detect app opening using a background service -


i'm having trouble detecting when apps opened using background service or listener. start application launch background service , i'd make detect when other applications launched (or resumed). how can achieve this? i'm anything, thank much

you may want @ activitymanager. getrunningappprocesses method or getrunningtasks method can give access running tasks or app processes. can use list track running or recent app(s).


Comments

Popular posts from this blog

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -