R
R
Royen2014-04-07 12:36:08
Android
Royen, 2014-04-07 12:36:08

Android - how to distinguish between a pre-installed app and an organic install

Good afternoon! Tell me, is there a programmatic way to distinguish app presets in android (when I buy a phone, there are already a number of third-party apps: some games, etc.)
from organic installs from Play. Perhaps there are some built-in methods with which the application can receive and send this information?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Onishchenko, 2014-04-07
@STFBEE

A quick search suggests that the ApplicationInfo.FLAG_SYSTEM flag is suitable for this , and a more detailed one even showed a link: How do I check if an app is a non-system app in An...

V
Vladislav Onishchenko, 2014-04-07
@STFBEE

Is it necessary programmatically or manually? If the handles, then, like, the pre-installed ones cannot be simply deleted, only disabled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question