question

S. Thompson avatar image
S. Thompson asked

Detecting non-Fire devices

I would like my application to run on both the fire and regular android devices. What is the preferred way to detect whether Game Circle is an option on the device or not? Presently I'm switching on my best guess of return values from the client getStatus() call, but it seems like a total kludge. If this is the preferred way then what states should I consider to be those found on fire devices versus non-fire devices?
fire tablet
10 |5000 characters needed characters left characters exceeded

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

Anshul@Amazon avatar image
Anshul@Amazon answered
Currently Amazon GameCircle is only available on Kindle tablets. If you can identify the device on which your app is running, you can decide on whether Game Circle is an option on the device or not, For more information on GameCircle, Please refer yo our GameCircle FAQ at https://developer.amazon.com/sdk/gamecircle/reference/faq/gamecircle-faq.html
10 |5000 characters needed characters left characters exceeded

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

Arlin@Noodlecake avatar image
Arlin@Noodlecake answered
This thread is relevant: https://forums.developer.amazon.com/forums/thread.jspa?threadID=306&tstart=0 Currently we are assuming that the device is not a kindle fire until Game Circle returns onServiceReady(); which isn't guaranteed to be called :(
10 |5000 characters needed characters left characters exceeded

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

Samuel@Amazon avatar image
Samuel@Amazon answered
One way you can implement this is using Build class in Android. This will help you to identify the device model and other details. Based on this you can implement Game Circle for only Kindle Fire devices. Below is the link for Build class in Android. http://developer.android.com/reference/android/os/Build.html Hope this information helps. Thank you.
10 |5000 characters needed characters left characters exceeded

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