I've looked around a bit on stackoverflow and Google Groups and haven't really found an answer for this exact question.
I simply want to be able to know what country the user of an Android phone is currently in.
I assume the TelephonyManager doesn't work if the user is using wifi only. Is this true?
We've tried passing the user's current latitude and longitude using android.location.Geocoder, but it's really flaky. It will frequently return empty results. Sometimes we can keep asking it and it will eventually return results, but it's really ugly. Is there a more reliable way?
Thanks, Rob Sz