Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How I can detect the contact number which they used while registration #35

Closed
supriyatambe131995 opened this issue Dec 18, 2018 · 5 comments

Comments

@supriyatambe131995
Copy link

I want to detect contact number which they used while registration firestick device

@levonlevonian
Copy link

Hi there,

Are you talking about getting the email address of the account that is setup on a Fire TV device? In that case, please note that the question is not related to the Fire App Builder project (this GitHub repository). I would strongly suggest to please post unrelated questions to our Developer Forums here: http://forums.developer.amazon.com

Also, since your question is not about Amazon APIs and services, but rather a generic Android programming question, I would suggest checking Stack Overflow for answers, for example this discussion might answer your question: https://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address -- Thanks!

@supriyatambe131995
Copy link
Author

Hi,
I am developing app for firstick only so i need to take contact number which they are using while registration of amazon prime account so i need that number to be fetch .

@levonlevonian
Copy link

Hi there,

There is no API to detect whether the user has a Prime account or not, and also there are no methods to get the user's phone number. You can use Login with Amazon to get certain bits of user details (such as the user's name or email address, for example), see: https://developer.amazon.com/docs/fire-app-builder/login-with-amazon-component.html -- Thanks!

@supriyatambe131995
Copy link
Author

Thanks. can we detect country code in firestick

@levonlevonian
Copy link

Hi, thanks but again your question is not related to this GitHub repo, which is for Fire App Builder, not for questions about detecting country codes. Please post all generic Android questions to Stack Overflow: https://stackoverflow.com/ and post Amazon related questions to our Developer Forums here: http://forums.developer.amazon.com

As for your current question, you may want to check the following thread on SO (and do additional search there), which might answer it: https://stackoverflow.com/questions/17475232/getting-country-code-with-the-help-of-device-ip-address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants