question

Nimrod Gutman avatar image
Nimrod Gutman asked

Identifying when your app runs on Fire Phone

Hey again, Is there an easy way to identify when my Android app runs on Fire Phone? We're planning to use our regular android app code-base and run it both on the Fire Phone and on regular Android devices so I need to know during runtime on what I'm running to disable / enable services. Best regards, Nimrod
fire phone
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Kevin@Amazon avatar image
Kevin@Amazon answered
Hi Nimrod, Sure, easy to do. Just do a check on android.os.Build.MODEL, you can find the returned values here for tablets: https://developer.amazon.com/public/solutions/devices/kindle-fire/specifications/01-device-and-feature-specifications And here for the Fire Phone (it will return SD4930UR): https://developer.amazon.com/public/solutions/devices/fire-phone/docs/fire-phone-specifications
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.