Search code examples
androidandroid-layoutkindlekindle-fire

How to check if the device is a "1st generation Kindle Fire " or other version?


In my application I need to check if the device is a "1st generation Kindle Fire" or other version. How can I do this?


Solution

  • you need to check with the Build Model

    android.os.Build.MODEL
    
    KFJWA       - Kindle Fire HD 8.9" WAN               
    KFJWI       - Kindle Fire HD 8.9" Wi-Fi
    KFTT        - Kindle Fire HD 7"
    KFOT        - Kindle Fire (2nd Gen)
    Kindle Fire -Kindle Fire (1st Gen)
    

    Link here:

    In general, apps optimized for a tablet experience will work on Kindle Fire tablets. To improve compatibility with the Kindle tablets, we recommend you use APIs that are backwards compatible with the Android 4.0.3 platform (Ice Cream Sandwich API 15) for the Kindle Fire (2nd Generation), Kindle Fire HD 7", and Kindle Fire HD 8.9"; and with the Android 2.3.3 platform (Gingerbread API 10) for Kindle Fire (1st Generation).