This is a question that I've not been able to fetch from StackOverflow or directly from Google. Is it maybe because I didn't search with the right words?
Well, anyway:
I'm trying to check if an app is a game by its packageName
.
What I've researched:
- I know the app could be checked if it comes from the Play Store, but what about if it comes from any store?
- Inside the
PackageInfo
, there's the featurePackageManager.FEATURE_GAMEPAD
but what about if it doesn't have any GAMEPAD or anything related? just a game of... puzzle for example?. - I know that from API >= 21 you can really check it, but what about the older ones?
Thank you very much in advance.
Regards.
Rafael.