list system.getInfo("model") for different Kindle devices

Hi there,

I’m looking for a definitive list of all the model names for Kindle devices out there when calling system.getInfo(“model”)

I own a few Kindles to test on but not all and I don’t want to miss one when running a check I need to do for all Kindles.

Have searched but can’t find anything newer than 2012, which obviously doesn’t cover the more recent ones.

Thanks in advance if anyone can help.

Ian

Found it… as of October 2014 the below is the full list I believe.

local model = system.getInfo("model"); local kindleModels = {"KFSAWI","KFSAWA","KFASWI","KFARWI","KFAPWA","KFAPWI","KFTHWA","KFTHWI","KFSOWI","KFJWA","KFJWI","KFTT","KFOT","Kindle Fire"}; for i=1, #kindleModels, 1 do if model == kindleModels[i] then print("DEVICE IS A KINDLE"); end end

See below - Build.MODEL at the bottom of the chart:

https://developer.amazon.com/appsandservices/solutions/devices/kindle-fire/specifications/01-device-and-feature-specifications

The original Kindle Fire sometimes was identified as “Kindle Fire”.  I think our simulator sometimes refers to one differently as well.  I use this block of code to detect a Kindle Fire:

if model == “Kindle Fire” or model == “WFJWI” or string.sub(model,1,2) == “KF” then

Rob

Thanks Rob - good point with just grabbing the first 2 characters and checking those as it covers a bunch of devices in one go.

Found it… as of October 2014 the below is the full list I believe.

local model = system.getInfo("model"); local kindleModels = {"KFSAWI","KFSAWA","KFASWI","KFARWI","KFAPWA","KFAPWI","KFTHWA","KFTHWI","KFSOWI","KFJWA","KFJWI","KFTT","KFOT","Kindle Fire"}; for i=1, #kindleModels, 1 do if model == kindleModels[i] then print("DEVICE IS A KINDLE"); end end

See below - Build.MODEL at the bottom of the chart:

https://developer.amazon.com/appsandservices/solutions/devices/kindle-fire/specifications/01-device-and-feature-specifications

The original Kindle Fire sometimes was identified as “Kindle Fire”.  I think our simulator sometimes refers to one differently as well.  I use this block of code to detect a Kindle Fire:

if model == “Kindle Fire” or model == “WFJWI” or string.sub(model,1,2) == “KF” then

Rob

Thanks Rob - good point with just grabbing the first 2 characters and checking those as it covers a bunch of devices in one go.