Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
Creating your own Widget problem ?
posted 7 years ago
I am building a Widget which would give me temperature of a particular city. Now to create a widget,
I am using a Activity class , where I supply the city name and state name to the widget.
But before the View of the Activity class is displayed the onUpdate method of my WidgetProvider is
called and it tries to read the values of city name and state name, and it creates a widget.
I want the onUpdate of WidgetProvider
be called only after I press save button on my View of
Please throw some light on this ?
It is sorta covered in the
JavaRanch Style Guide
View from Remote View or View in App Widget
[Resolved] Application crashes on starting second Activity
Separating View-Controller in MVC
Performance Issue in Hibernate?