Check if Android app is a game by packageName - android

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 feature PackageManager.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.

I'm trying to check if an app is a game by its packageName.
By definition, that is impossible. For example, there is no universal definition of what a "game" is.
I know that from API >= 21 you can really check it
No, you can't, as there is no requirement for a game to have that flag set.

Check the app category in play store
Just parse the page of the play store for that package and get the category it is in. Games have a very distinctive category

Related

Command which only shows installed Games in my Android app?

I have heard about getInstalledApplication() but it shows all apps.
Is there a way to retrieve only apps that have been classified as games?
Thank you, any help is appreciated.
No, sorry, there is no such function provided that classifies the apps like that.
The short answer is that there isn't a simple easy one line of code to do this.
You can filter by checking for which features, services, or intents are used/implemented by the apps via the PackageManager, but there is no "I'm a game" flag you can filter by.
The Google Play store does have categories, but unless you want to go through and cross-check every installed app with calls to the Google Play API (which the apps may or may not be sourced from and therefore you can't confirm it is or is not a game) then you probably won't have a very clean way of doing this.

In app rating-Android

Firstly, I am not a coding guy. So please explain to me like a 5 year old! :)
The problem that I am facing is that is it possible for an Android app to automatically recognize whether the user has rated that particular app on the play store or not? There are pop-ups etc which can guide the user to the play store page and rating can be done there, but does the app realize that it has been rated? If so, then is there a particular code that needs to be included wile developing the app?
Thanks
A simple 5-year-old answer: No, there is no way to do this.

Android market publishing

Well,I have a big problem because I put an android app on the market that is searcheble by this URL:
"https://play.google.com/store/apps/details?id=simple.notification.app1" and it does work but when I m going to Google Play and I search "Simple Notifications" the name of the app there is not my app published it passed more than 2 days and I dont know waht to do please help.I have tried everythin.
It shows up as the first result for me if you search Simple Notification.app1 - You may need to rename or reconfigure your meta data relating to the upload, it seems to be searchable only via direct name right now.
Your app is on the market, but it's probably far down on the list. It will move up depending on its popularity and downloads. Give it time.

Application marked as using Play Games

I'd like to know how to tell the Play Store that my application uses the Play Games APIs for leaderboard, achievement and soon multiplayer games.
I've seen an app where it is visible in the description of the app, as seen in that screenshot :
How can I do the same thing ? Do I have to add something in the manifest ? Change something on the developer console (I haven't seen anything related to that).
Quoting my answer from another question: https://stackoverflow.com/a/17633229/226508
Implementing the Google Play Game Services features is not sufficient,
your users have to use the service for you to get the badges.
Let me quote from this video from Google I/O 2013: Practical Android
Games Development http://youtu.be/ZbQWf7C5ymU?t=23m39s
"As you get more users you will get badges. [...] However, they are
not just given out because you put them in the config, and we don't
snoop your APK to see if you are making API calls from there. We
verify how much the feature is being used and if you meet certain
threshold we give you a badge. So you need to actually integrate it,
it is not a token thing that you can put there to get more eyeballs in
the store."

Upload app in Android Market which is already there

I am developing a game for Android. This game is Pacman, I have seen it is already on Android Market. Anyway I would like to upload my app to Android when it is done. I am not looking for earning money, I just want to learn to program with Android SDK and I would like to put my app in Android app in order to put this in my CV. It would be for free.
Do you think there is any problem?
Thank you in advance.
The owners of Pacman can claim infringement and have it taken down, at least don't call it Pacman, that might help.
I dont see any problem in this.
You just have to pay a 1 time fee of $25
There is no problem with app with the same name. Main thing - is difference in packageName param in manifests file.
So, you can register for publishing on market(25$), and release your app with no problems.

Categories

Resources