AndroidThings TimeZone for Date object is GMT + 00

I am writing an Android app for Android (preview 3) for raspberry pi 3.

I connect the app to a Wi-Fi network and when I do new Date()

, the time is correct (timezone offset - minutes / seconds is correct), except for the point in time set to GMT+00:00

(i.e. timezone 0).

I want to deploy a device to households and need to set their timezone automatically, since I am connecting to their Wi-Fi network, I assume I need to know their timezone. Is this capable or is it just a preview 3 issue and will be fixed in future releases of Android

things?

+3


source to share





All Articles