android – How to disable Widget updatePeriodMillis?-ThrowExceptions

Exception or error:

I’m trying to figure out how I can disable the update period on my widgets? I don’t need this particular feature. I’m just fine with the widget calling onUpdate when added that’s it…

How to solve:

Just don’t include it in your xml and it won’t autoupdate, or set it to 0.

Leave a Reply

Your email address will not be published. Required fields are marked *