Best Way To Get User's Android Market Username
For licensing purposes, I need to know my users' Android Market account, which I believe is the same as the primary account on their device. I can't find a method that does exactly
Solution 1:
It used to be the case that the first com.google account registered on a phone was the primary account, and accordingly the account used by Android Market.
Newer versions of Android have done away with the concept of a primary account, and newer versions of Android Market also support multiple accounts.
In summary, there's no longer any difference between the accounts on a phone. All of them may be in use by Android Market simultaneously, and an app may be owned by any one of those accounts (and possibly even several, if the user has bought the app multiple times).
Post a Comment for "Best Way To Get User's Android Market Username"