I am developing an android app. I want to know through an event or any other means in my service, whenever user opens a foreground app. I want to collect my own usage statistics, as I can't find a way to know how many times an app has been used.
Does anyone know of a nice way to do this? Or obtain those statistics, already, if possible?
None of this is supported by the Android SDK.
Have you tried Google Analytics directly?
http://code.google.com/mobile/analytics/docs/android/
Related
I built this app:
https://play.google.com/store/apps/details?id=com.FindNewMusic_Vakil
But ios keeps rejecting me for following reason:
Guideline 4.2.3 - Design - Minimum Functionality
We were required to install Spotify before we could use your app. Apps should be able to run on launch, without requiring additional apps to be installed.
Next Steps
To resolve this issue, please revise your app to ensure that users can use it upon launch. If your app requires authentication before use, please use methods that can authenticate users from within your app.
Even though I added another functionality which enables you to view artist in app (following pics).
Any ideas of what I should do to get app to be approved because I am lost at this point
The guideline clearly states that your app depends on other application for serving its purpose. What you're trying to do is novel but simply recommending won't suffice in my opinion. You could try providing a sample of the music and then if the user likes it, you could provide him/her with the option of redirecting to spotify. Your app should serve some purpose on its own. That's just my opinion however.
i am developing phone addiction Android app
in this app i need a functionality don't open particular app for specific time
Not without system level permissions, no.
Device policy controller could probably solve your issue. Look at this repo
The thing you are trying to archive is a really tricky one. I think there is no easy solution. Even custom launcher won't enforce rules to google play app through which you will be able to open applications.
I developed a app in my company to fetch the location of the device of my employees. They are field technicians so I need to know their location to assign different tasks. They are aware of the app installed in their cellphones, and I managed to forbid the uninstallation, but I cant prevent them to turn off the location services. There is a way to do that?
I was thinking in developing a Custom ROM and removing this option, so it always be on but i'am not a Android developer so I don't know if it is possible to do that.
Do you know any project about this? I searched in GitHub but i couldn't find any related really.
If you can help me I would be very grateful.
Thanks.
PS: I also have a Google G suite work profile in the cellphones,
but I didn't find any option to control device settings remotely.
Why can't you just ask them to not turn off their location? Then in your code simply check to see if the user has disabled the GPS and if so report that user to the server, after that you can deal with whoever did this in person.
Also, make sure your users don't cheat by using a FakeGPS app.
We unpublished an Android-app from the Google play-store. We still see that it is installed on 500+ devices. Is there a way to remove it from these devices? If not, is there a way to show people who open the app a message?
If for both questions the answer is no, what would be the way to go?
Br.
Sorry, the answer would be no for the first aspect of the question and a maybe no for the second aspect of the question. The thing is that if you have some kind of connectivity in your app, i.e. some type of way to communicate with your users built by you, then you could use that channel to communicate whatever you desire. If not, well then you can't force them to uninstall the app. They got the app when it was available, and you've got no control over what apps a person has on their phone, even if you made that app.
Best of luck.
We have project requirement where we need to force the user to upgrade the app in android and iOS both. And the application we have developed using the Hybrid technology phonegap + dojo.
I have few question with respect to that
Is it possible to make the user upgrade the app as soon as he opens the application
If yes then is there any API's available to perform this task in Android and iOS.
Is there any restriction from Apple and Android to make user upgrade forcefully.
Please can anyone help me in this. thanks a lot.
There is no API for this, but you can create a service that returns the version number of the latest allowed app or something to that effect, that can get checked on application launch and if it does not match you can ask the users to update.
I'm not sure if Apple/Google have any restrictions on this, but I've worked on a project that does this and there weren't any issues on either platform.
The only catch here is that if you already have an app in store then this might not be so feasible.
So to answer your questions:
No
No
Not 100% certain, but I don't think so.
Not if they don't want to. With mobile devices some people are sensitive about rationing out their limited bandwidth so there would be a small uproar if this was allowed.
It may be a bit late now if your app has already left the stable, but would it not be more user friendly for your app to check for updates and gently inform the user that if they do not update then the app will not be able to function until they do. If a user truly doesn't care about that sort of thing there are settings on there device to allow updates automaticly