question

agadewar avatar image
agadewar asked

How to check whether device is kindle at run time?

I want to check at runtime whether the build is for kindle device or some other device. Is there any way to decide this?
fire tablet
10 |5000

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

Offbeatmammal avatar image
Offbeatmammal answered
in an application you can check either the android.os.Build.MANUFACTURER and/or android.os.Build.MODEL, and for a web page you can check the user agent string. The Specifications page - https://developer.amazon.com/sdk/fire/specifications.html - lists the expected results for the various devices
10 |5000

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

Sachin@Amazon avatar image
Sachin@Amazon answered
Thank you Offbeatmammal. This will surely help other developers as well.
10 |5000

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

agadewar avatar image
agadewar answered
Thanks for your reply
10 |5000

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