Android App. How to detect in code if app is new install or update?

Viewed 5975

Besides having a custom solution by using SharedPreferences, is there a way I can detect if my running app is an update for a previously installed version vs a new installation?

Is there any singular value in the API I can query for that?

2 Answers
Related