Wow, I thought the getDisplayCountry() and getCountry() methods on the
Locale instance returned by java.util.Locale.getDefault() might be
helpful, but on my G1 they return the empty String when the phone's
"Settings->Locale & text->Select locale" setting is set to "Spanish".
Returns the US when set to "English" at least. Surprised me because
the emulator has a list of languages and countries for that setting
and the methods return what's selected. Too bad.

On Sep 11, 12:49 pm, Anna PS <[email protected]> wrote:
> Hi
>
> Anyone know how to check the user's country?
>
> I'm looking for a way that's faster than using GPS and reverse
> geocoding. (I need the country where the phone is registered, not
> their current location, in any case.) Is there any constant in the
> settings?
>
> Thanks,
> Anna
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to