question

Vincent avatar image
Vincent asked

How retrieve countryCode of the Tablet Kindle Fire HD

Hi, The method "getResources().getConfiguration().locale.getCountry()" return "" in Tablet Kindle Fire HD and Kindle Fire 1st Generation.... How to retrieve country code on this devices? Thanks in advance. Vincent
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.

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
Hi Vincent, There is a way to get country code, make a table of country code refer - [i] http://countrycode.org/[/i] try fetching this from the local app code.Hope this information helps
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.