EDIT: don't bother with this thread. if i could delete it, i would. i was never able to ask the questions in a way that proved useful
i recently updated my little home screen stock market widget app. i asked if there were any conflicts regarding using a timer to
manually trigger a widget update using the new receiver module. erel kindly answered that question.
i followed up with a question that, i think, was lost when the thread unexpectedly turned to a different matter.
https://www.b4x.com/android/forum/threads/home-widgets-w-timer.145493/#post-922478
i'm trying again. erel said, "no problem but you should expect the process to be killed at some point."
my question then essentially was: are all widgets killed at some point? or only mine? i wanted to know if erel's widget example was
killed too. if his wasn't killed, why not? was mine killed because i turned off automatic updates (and used manual updates instead)?
my widget appears to run happily for hours with updates every minute (the receiver simply stops updating the widget when stock markets
are closed, but it keeps checking to see if it should update the widget). i watch videos or listen to the radio and/or test or deploy apps on the
device all while the widget updates. and, of course, android's weather widget seems to run forever.
i thought the os handled widgets differently than user apps that tried to run for long periods or tried to wake themselves up periodically
for long periods. are all widgets killed?
i recently updated my little home screen stock market widget app. i asked if there were any conflicts regarding using a timer to
manually trigger a widget update using the new receiver module. erel kindly answered that question.
i followed up with a question that, i think, was lost when the thread unexpectedly turned to a different matter.
https://www.b4x.com/android/forum/threads/home-widgets-w-timer.145493/#post-922478
i'm trying again. erel said, "no problem but you should expect the process to be killed at some point."
my question then essentially was: are all widgets killed at some point? or only mine? i wanted to know if erel's widget example was
killed too. if his wasn't killed, why not? was mine killed because i turned off automatic updates (and used manual updates instead)?
my widget appears to run happily for hours with updates every minute (the receiver simply stops updating the widget when stock markets
are closed, but it keeps checking to see if it should update the widget). i watch videos or listen to the radio and/or test or deploy apps on the
device all while the widget updates. and, of course, android's weather widget seems to run forever.
i thought the os handled widgets differently than user apps that tried to run for long periods or tried to wake themselves up periodically
for long periods. are all widgets killed?
Last edited: