android - Handling Back button press event when application not open -


i developing security app on android platform. requirement handle button press event when application not open or not in foreground screen.

some code of application should run, need send notification application. when 3 time button press continuously when app closed

is there way handle button event out of application?? know how handle press event when application in use dont know type of stuff.

androidservice runs in background seems not work outside of activity

this question asked here:

pressing button on android through service


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -