W walmo Active Member Licensed User Longtime User Jun 3, 2020 #1 Hi I'm using a device as a kiosk device. The problem is actually with android i think. I set the current time zone manualy but after restart it moves to another zone. Now its set as auto from network . But now the problem is the phone starts with wrong zone and the shifts to correct zone. The app starts up before the time zone shift and load time from wrong zone and stays like that even after time shifts in background. Is there a way to refresh the time zone in app to get the correct timezone without restarting app. The app can't restart. I even set global time zones with adb and problem stays. THX
Hi I'm using a device as a kiosk device. The problem is actually with android i think. I set the current time zone manualy but after restart it moves to another zone. Now its set as auto from network . But now the problem is the phone starts with wrong zone and the shifts to correct zone. The app starts up before the time zone shift and load time from wrong zone and stays like that even after time shifts in background. Is there a way to refresh the time zone in app to get the correct timezone without restarting app. The app can't restart. I even set global time zones with adb and problem stays. THX
JohnC Expert Licensed User Longtime User Jun 3, 2020 #2 Can you tell us a little more about what the app does and how a shifting time zone adversely effects the app? Is the *only* problem is that it displays the wrong time? or does if effect some other feature of your app? This info might help us figure out a work-around to the actual problems in your app in the event there is no way to fix the issue out side of your app. Upvote 0
Can you tell us a little more about what the app does and how a shifting time zone adversely effects the app? Is the *only* problem is that it displays the wrong time? or does if effect some other feature of your app? This info might help us figure out a work-around to the actual problems in your app in the event there is no way to fix the issue out side of your app.
W walmo Active Member Licensed User Longtime User Jun 4, 2020 #3 Hi JohnC Yes the app is reporting to server every 5min so that system know it is on. Upvote 0
JohnC Expert Licensed User Longtime User Jun 4, 2020 #4 OK, for that *particular* action, why can't the server consider the kiosk as "running" when it receives *any* report from the kiosk, regardless of the time zone on the kiosk? Upvote 0
OK, for that *particular* action, why can't the server consider the kiosk as "running" when it receives *any* report from the kiosk, regardless of the time zone on the kiosk?
W walmo Active Member Licensed User Longtime User Jun 4, 2020 #5 Yes it is possible to change code on server , but that was my last option. Hoped i can just correct problem on devices ... Thank you Johnc Upvote 0
Yes it is possible to change code on server , but that was my last option. Hoped i can just correct problem on devices ... Thank you Johnc
JohnC Expert Licensed User Longtime User Jun 4, 2020 #6 That is weird that the time zone will suddenly change after you manually set it (and in non-auto network mode). Upvote 0
That is weird that the time zone will suddenly change after you manually set it (and in non-auto network mode).
MicroDrie Well-Known Member Licensed User Longtime User Jun 4, 2020 #7 Which time is wrong? Is it the Android device time or is it the time calculation in your program? And with my android phone outside my "Home" time zone it display both the "Home" and the "Local" time zone. Upvote 0
Which time is wrong? Is it the Android device time or is it the time calculation in your program? And with my android phone outside my "Home" time zone it display both the "Home" and the "Local" time zone.
MicroDrie Well-Known Member Licensed User Longtime User Jun 4, 2020 #8 Could you write out how you get the time routines in the kiosk device program? Upvote 0
W walmo Active Member Licensed User Longtime User Jun 7, 2020 #9 Hi Thanks i found the solution to my problem. Must call 'DateTime.ListenToExternalTimeChanges' at boot. Thank you Upvote 0
Hi Thanks i found the solution to my problem. Must call 'DateTime.ListenToExternalTimeChanges' at boot. Thank you