M maachal New Member Licensed User Longtime User Jan 2, 2016 #1 Example https://www.b4x.com/android/forum/t...widget-more-frequently-than-30-minutes.11329/ with StartServiceAt("", DateTime.Now + 1 * 500, False) or StartServiceAtExact("", DateTime.Now + 1 * 500, False) not work on real machine with android 5.1.1 For other similar project i need refresh graphic widget 4x per second. Android 4 no problem. Android 5 problem. Set refresh 4x per second, but it works 5 second. :-( Any solution? Thank you respectfully...
Example https://www.b4x.com/android/forum/t...widget-more-frequently-than-30-minutes.11329/ with StartServiceAt("", DateTime.Now + 1 * 500, False) or StartServiceAtExact("", DateTime.Now + 1 * 500, False) not work on real machine with android 5.1.1 For other similar project i need refresh graphic widget 4x per second. Android 4 no problem. Android 5 problem. Set refresh 4x per second, but it works 5 second. :-( Any solution? Thank you respectfully...
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2016 #2 You should use a timer for short intervals. You can combine it with StartServiceAt to make sure that the process starts every few minutes. Upvote 0
You should use a timer for short intervals. You can combine it with StartServiceAt to make sure that the process starts every few minutes.
M maachal New Member Licensed User Longtime User Jan 3, 2016 #3 Good idea, it works, thank you respectfully. Upvote 0