2

Suppose I want to start an app to run in background as soon as an event occurs in the phone.

For example:-

  1. When I open my gallery I may want to automatically start my app which monitors my file browsing and prepares database for most recent documents, most listened song, etc and is automatically closed when I exit my gallery folder.

  2. Whenever I open my internet browser I might want to start my app in background, which monitors how many times I visited a particular site and it automatically closes when I close the browser.

gkris
  • 1,209
  • 3
  • 17
  • 44
Rampal Chaudhary
  • 707
  • 1
  • 8
  • 18

1 Answers1

1

I don't think this is possible, and i'm not talking about remote launch app, but capture events of other apps like Gallery or Browser.

If this are only hipotetic examples, you should show a real examples because i think collect this type of data will be more painful problem than trigger app on an event due a lot of security reasons.

Guilherme Torres Castro
  • 15,135
  • 7
  • 59
  • 96