Can I get details of users who downloaded my android app? - android

Is there a way how to get details of users who downloaded my android app from Google Play store? I'd need for example email address, phone number or at least phone id...
Thank you.

Yes you can.
For that you need to write in your code to get the Phone IMIE No, or any specific information you need and then send those to your server and save them in your any specific Activity class when the user first time open your App. This could be done programatically before the app is sent to the play store.

Related

How do I implement a referral module onto my android application?

I want to implement a refer-a-friend kind of functionality onto my application such that every user will have a unique link directing to the apk and the user can share the link via different mediums. I am done with the generating link part, now I wanted to know how to identify the user hitting the link and also check whether or not the app was installed/downloaded. If it was installed, then I need to add some credits onto the link owner's account. And my issue needs to be resolved without the use of API's.
Any help would be appreciated.
For every user you need to have a unique code stored on your server, like A has FOO766, A has BAR456.
You can use Google's referrer feature. In this method, when you A shares your app to another user, you need to append a A's unique code with your app's Play store link. And when another user installs your app, a BroadcastReceiver of your app will be called, containing the code; with which you can verify referral. More info Google Campaigns.
Or you can do it manually. Whenever a user installs your app, ask him for the referral code, and you can verify the referral condition's over the server & can determine is it valid or not.
You can achieve this without api.
Create one Label which consist some data.
Now add Scheme for that at your application (Manifest).
After that write code at First screen which get value from that label.
https://developer.android.com/training/basics/intents/filters.html
FYI :
Myapp

How do i track app installs in android

We are making an android app which will reward user for inviting their friends. we are having hard time to achieve this.
I know some apps are doing this referral and invite system where a user share his unique referral link and his friend click and install the app , when his friend done installing the app the user gets it reward.
I don't understand how it works. Please Explain.
for example, this is a referral campaign of amazon app and my friend told me to install it via this link so that he will get my referral. http://mcent.com/ref/8ZR287/
After thinking about this, here are my two cents:
In your application, as soon as the user installs the app, you can probably make an API call to YOUR server - where you keep track of installs?
Now, you will need to find away to get the Referral Code which will help you ID the referrer in your server for a reward.
Perhaps in that same table (in your server), each time you get notified of a referral, you increment a counter and reward the referrer?
Obviously, you need to generate a new referral code each time a new user installs your APP - might have to ID the device KEY that is unique. Then their email address? I am sure there is more to this!
I hope this helps! Good luck and let me know how it goes!

In Android, ensuring only pre-decided users can only use the app

I'm making an app, which I will distribute via playstore. However, though the app can be installed by anyone in the world, it can only run for selected users who I know.
Below are the possible ways I have figured out,
Check the account E-Mail ids on the phone and if that matches with the one's saved within the app code.
Check the mobile number on the phone and see if that matches with the one's saved within the app code.
When the app runs for the first time, it will send an SMS to my phone. I will reply to that SMS either saying YES or NO. If I reply YES then only the app will run for that user, else it will not.
I would like your feedback on these mechanisms. If there are other ways let me know about that too.
Thanks...
I think your best options are:
Make users log-in using an e-mail and a password (you could ask the user to register and if he uses an e-mail that is known to you, send a password to that e-mail [make the user change it later though])
Beta testing - This allow you to choose wich users will be able to install your app by creating a community on Google+ to beta test your app.
Maybe both.

Android retrieve google play account with which the app was downloaded

When my application is launched, I would like to retrieve the google play account of user which was used to download the app. With that e-mail id, I would bind the user to the device.
Can anyone pls let me know how to retrieve the e-mail which was used to download the app?
Thanks in advance :)
All Google accounts are stored on the device; just read that, I've seen permissions to do it, but I haven't done the code myself. After that, send the data to your DB along with the UUID and store them. Word of warning though...this method is not very popular with customers as they find it too restrictive. You have to allow for multiple devices with the same account on it. Storing customer information must be encrypted(REQUIRED BY LAW).

How to know if an app is downloaded for first time or many times from market?

I am placing an app for free in the Market. I want to restrict the downloads (i.e only 1 download per account). If the person uninstalls my app and tries to download again and re-install it with same gmail account, I want to restrict it.
Is that possible? Please help. I am stuck here. Thanks in advance!
I strongly recommend to skip what ever you try in that direction for the given reason:
you will upset your user!
you will lose user when they had to reset their device or if they bought a new one
and finally: its not supported!
Guillaume Brunerie mentioned the Application Licensing, but that will only work after they have downloaded the app the second time and you will just piss off your user when they can't start the app after downloading it the second time.
Seriously: drop the idea!
You have to create a server.
When you app starts for first time after installation, it should make a request to your server and send some unique information about the user like gmail address, but it is highly recomended that you hash this information to protect user's privacy. The server should check the hash if exists in it`s database and return an appropriative response to the application.
The standard way to do this kind of things is to use Application Licensing, but this is only available for paid apps.
So I don’t think this is possible if you want your app to be free.

Categories

Resources