10

How can i find out which google account downloaded the application?

This question is related to Get the Google ID used in an in-app billing purchase

Thank you!

Community
  • 1
  • 1
Jonathan Naguin
  • 14,526
  • 6
  • 46
  • 75
  • 1
    A phone can have multiple google accounts... There is always 1 default but nevertheless it can have multiple. Not an option to ask the user? – Warpzit Apr 20 '12 at 11:46
  • @Warpzit How do you know the default account in Android 3.2 and newer? Ask to user is not an option :S – Jonathan Naguin Apr 20 '12 at 11:48
  • Hey @JonathanNaguin ,Did you find any way to achieve this?If yes ,please share.If not you can share a workaround.Getting primary email address and asking user will not work in my case. So if there is another solution to it , you can share. – Parikh Vaibhav Dec 07 '14 at 16:43

1 Answers1

2

I think the best answer can be found here: How to get the Android device's primary e-mail address This might not be exacly what you want, but without asking the user, I think this is the closest you can get.

Community
  • 1
  • 1
Warpzit
  • 27,966
  • 19
  • 103
  • 155