Hello
After reading:
Android home screen widgets tutorial - part I and part II I have some doubts.
I created a widget that checks if the phone is charging through the library Phone with BatteryChanged event.
It works perfectly, but if I hold down the menu button and delete applications, and stops entering the service of the widget, although in the event: Service_Destroy, not enter.
The only way to re-run the widget service is by clicking the widget icon.
My question is: I can pass the focus to the widget to work? is there any way to know that the service is stopped?
Other queries about widget:
- What is the maximum size of the panel to place the image in a 1x1 widget? if I get over 74, makes a 1 x 2.
- The text of witget once put on the home screen, as is done? I put a label below the image but not knowing the measures not go well the letters.
thanks
Jesus
After reading:
Android home screen widgets tutorial - part I and part II I have some doubts.
I created a widget that checks if the phone is charging through the library Phone with BatteryChanged event.
It works perfectly, but if I hold down the menu button and delete applications, and stops entering the service of the widget, although in the event: Service_Destroy, not enter.
The only way to re-run the widget service is by clicking the widget icon.
My question is: I can pass the focus to the widget to work? is there any way to know that the service is stopped?
Other queries about widget:
- What is the maximum size of the panel to place the image in a 1x1 widget? if I get over 74, makes a 1 x 2.
- The text of witget once put on the home screen, as is done? I put a label below the image but not knowing the measures not go well the letters.
thanks
Jesus