I think it is not possible directly from android SDK. You can get a
timezone from a city name, but not from lat/long values (see
http://developer.android.com/intl/fr/reference/java/util/TimeZone.html
setID() and getAvailableIDs() )

You can make a request to a webservice that will give you the time
zone from lat/long. See 
http://stackoverflow.com/questions/55901/web-service-current-time-zone-for-a-city
for more information.

On 16 avr, 10:17, Amita Dev <[email protected]> wrote:
> Hi,
>     Is it possible to get current time / GMT offset for any location?
> For that location I have longitude / latitude but that is not my current
> location.
>
> Thanks,
> -A

-- 
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