Hi, I've got a clock widget on the market, and several of the issues i have with it are not ones i can find a way around. Here are the basic problems, i'd really like some suggestions of how, if possible, i could work around these issues:
- Analog clocks get a nice fancy xml based widget class, virtually no work needs to be done by the programmer. The same does not apply ( afaik ) to digital clocks. - Update seems to be limited to somewhere between 45 minutes and 1 hour using the default widget update system. This is not usable for a digital clock, so i have to use a custom update service ( currently using a Timer and TimerTask as it seems to be simplest for this ). - Third party applications often kill my update process, and hence i have to fall back on the system widget update to recover my widget. There doesn't seem to be a way to get around that, and i've had many bad ratings on the market because people don't understand that their Task Manager app auto kills a service that's almost always running. - When i restart the phone, the service is instantly killed, along with every other service started on my G1. - Furthermore, on phone restart, the constructor of my widget class is called twice, the order is as follows: 12-05 14:47:01.831: DEBUG/DigiClock(447): constructor 12-05 14:47:01.831: DEBUG/DigiClock(447): onReceive 12-05 14:47:01.871: DEBUG/DigiClock(447): onEnable 12-05 14:47:01.881: DEBUG/DigiClock(447): constructor 12-05 14:47:01.881: DEBUG/DigiClock(447): onReceive Note that onEnable is only called once before the second constructor call, meaning if i do setup logic in onEnable and reset my vars in my constructor, i lose my setup logic when the second constructor is called. - What does onReceive do? I've looked through the docs, but i can't seem to find what it practically does. It only ever gets called a few times when i add the widget to my homescreen, but thats it. Thanks in advance for any help, David Goemans -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

