Command which only shows installed Games in my Android app? - android

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.

Related

How to record calls in android if its not permited for third-party apps and apps for that does exist in playstore

Hi thanks for your time,
i have a application for sales force and my users are asking for call recording, in research for this issue i found the conclusion that this is not possible anymore because of privacy concerns, but looking on playstore i found applications for that.
So how is that possible that 3rd party apps are doing this if this is not possible for third-party apps?
One permission to do the feature is CAPTURE_AUDIO_OUTPUT that is not permitted to be used :
Is there any way of doind something like this? every tutorial i follow lead to no success.
Ok that is not possible, the applications from play store that has this feature just do not work anymore, only on old versions of android.

Check if Android app is a game by packageName

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

Supported devices filter in Google Play

I am going to publish an Android game to the Google Play Store, and I would like to post it only for powerful enough devices, which can run it smoothly. I am not registered yet, so I don't know how exactly the "publishing process" looks like - can you give me a hint? Is it a simple filter, in which I select all the devices I want to, and the users of the rest won't be able to find my game on the Store?
Thank you!
There is a lot of tutorials where you can find this answer:
1) Youtube
2) Android
3) Google
Press any one of them and you will get your answer.
Google Play has a device limitation feature dedicated to that.
By default, your app is open to all devices. This feature allows you to exclude devices by Manufacturer and Model.

Android licence for app

Please clear up something for me. For my own interest I want to write an Android app to use on my phone, by me alone. Maybe written in Mono, or perhaps something else.
It has been suggested to me that I will need to pay a license fee for this. The Android licensing documentation hasn't cleared this up in my mind.
Do I need to implement any form of licensing or pay any license for this? I stress, the app will be for use by me alone (and maybe my wife), on my phone alone (or hers). It won't go near Google Play Store or anything like that.
Just install it on the phone.
Unless you're using a dev tool/SDK/library that requires a license even for non-commercial use, you don't need to do anything.
As long as you don't submit the app to Google Play store, you don't need the licence. You can use the app or even give it to your family and friends. However, you cannot submit to the app store.
So develop it with Android SDK, it's easier and free. And distribute yourself the installer (The Android apk).

Programmatic way to collect comments for Android App

I released and Android app, and I want to be able to collect comments in some sort of programmatic fashon. I've looked around the the web and can't seem to find any Google API or any 3rd party service. Does anyone have any suggestions or know something I don't?
I was thinking about writing some sort of HTML scraper to just extract them from the developer console, but I wanted to get some feedback before I start that little adventure.
Thanks
You can use the unofficial Android Market API (It is still called like that).
It scrapes the content from the play store, so you can do all kind of things with it:
E.g. get the description, app logo, comments etc.

Categories

Resources