Can an app run code if you don't open it?
As part of this question, the topic of an app downloading data without ever being explicitly opened by the user was mentioned briefly.
It got me thinking: is it trivial for an app to run code without ever being opened by the user?
Obviously, an app could just be set to launch on boot, causing it to run on the next power cycle. But even easier, couldn't an app just have a receiver for a very common function (such as turning the screen on), thus running itself without the user being aware?
Is it even possible for an app to act as a receiver to an alarm timer so that it automatically gets run every minute?
Many people run App Ops right after installing an app to limit exposure. But it seems like it would be almost trivial for an app to run code immediately after being installed.
Is this correct, or are there safeguards to prevent this?
No comments:
Post a Comment