My app needs to know the timezone in which is executing. To do this, I
have the following code:
import java.util.TimeZone;
TimeZone tz = TimeZone.getDefault();
One of my users says he has configured his phone to not switch timezones
even though he may have flown across the country. He says
On Fri, Apr 22, 2011 at 2:47 PM, Jake Colman col...@ppllc.com wrote:
What API should I be using to get the timezone of the current location as
opposed to the timezone that he has forced the phone to use?
http://groups.google.com/group/android-developers/browse_thread/thread/8fa8dd46bb316a7c
I don't believe that there is one. The platform only knows about one current
time zone, and that's whatever the user has configured in Settings Date
time. I've never seen a way to access the automatic zone if the user has
overridden it. Your only other option would be to use a web service to
3 matches
Mail list logo