I have been using Google service in my project, but Amazon tablets don't support Google service so that if I want to publish app to Amazon Store, I need to remove Google service.
I don't want to divide project to "For Google Play" and "For Amazon Store".
I get device name using android.os.Build.MODEL
but I'm not sure it's safe?
Can I detect Amazon tablets in project?
if(is Amazon) {
//do something
}
else {
//do something
}
A Kindle can be tracked when lost only if it runs Fire OS 3.2. 5 or subsequent Fire operating systems. This means that only certain Kindle Fire devices can be tracked, and most Paperwhite and classic Kindle e-readers cannot be traced. However, you can deregister your device remotely.
Discover what Fire tablet model you own by checking your device settings. Open the Settings menu. Select Device Options. Your device model is listed under Device Model or About Fire Tablet.
Go to Amazon's Manage Content and Devices page and log in to your account. Click the 'Devices' tab. Select your missing Fire Tablet from the devices. The device's serial number should be written at the bottom of the page.
Open the Alexa app . Open More , then select See More. Select Alexa Together. Select View All Activity.
Yes, you can use Build.MODEL and Build.MANUFACTURER.
As per Amazon documentation, Build.MANUFACTURER always returns "Amazon", and Build.MODEL returns different strings, depending on the model.
If you don't need to distinguish between each Amazon tablet, you can just use:
if (Build.MANUFACTURER.equals("Amazon")) {
//we have an Amazon tablet
}
else {
//some other device
}
If you need to know exactly which device it is, you can use Build.MODEL, for example:
Kindle Fire HDX 8.9 (3rd Gen)
if (Build.MODEL.equals("KFAPWI")) {
//WiFi version
}
else if (Build.MODEL.equals("KFAPWA")) {
//WAN version
}
etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With