How to make a widget that doesn't drain the battery and updates often

by Mark Murphy » Sun, 06 Jun 2010 02:46:29 GMT


Sponsored Links
 


You are missing the point. Unless you have evidence that your alarms go
off on devices other than your own, it may simply be a matter of some
WakeLock being wedged on your own device.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books 

--



Other Threads

1. Screen orientation switch and data

Hi

I am testing my application on screen orientation switch. The
application loads data from the internet or the device and displays
this data. The interface is working great on the switch do I really
have to reload the data on every switch ? Shouldn't the switch only
affect the interface?
What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~

2. what does this mean ?

Hello,


I get a lot of messages like this:

DEBUG/(510): removing file '/1207599776368'
DEBUG/(510):  unable to unlink '/1207599776368' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599776368.
DEBUG/(510): removing file '/1207599777942'
DEBUG/(510):  unable to unlink '/1207599777942' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599777942.
DEBUG/(510): removing file '/1207599779425'
DEBUG/(510):  unable to unlink '/1207599779425' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599779425.
DEBUG/(510): removing file '/1207599781177'
DEBUG/(510):  unable to unlink '/1207599781177' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599781177.
DEBUG/(510): removing file '/1207599782840'
DEBUG/(510):  unable to unlink '/1207599782840' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599782840.
DEBUG/(510): removing file '/1207599784491'
DEBUG/(510):  unable to unlink '/1207599784491' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599784491.
DEBUG/(510): removing file '/1207599786338'
DEBUG/(510):  unable to unlink '/1207599786338' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599786338.
DEBUG/(510): removing file '/1207599865138'
DEBUG/(510):  unable to unlink '/1207599865138' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599865138.
DEBUG/(510): removing file '/1207599871988'
DEBUG/(510):  unable to unlink '/1207599871988' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599871988.
DEBUG/(510): removing file '/1207599875863'
DEBUG/(510):  unable to unlink '/1207599875863' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599875863.
DEBUG/(510): removing file '/1207599878081'
DEBUG/(510):  unable to unlink '/1207599878081' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599878081.
DEBUG/(510): removing file '/1207599880487'
DEBUG/(510):  unable to unlink '/1207599880487' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599880487.
DEBUG/(510): removing file '/1207599882647'
DEBUG/(510):  unable to unlink '/1207599882647' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599882647.
DEBUG/(510): removing file '/1207599884996'
DEBUG/(510):  unable to unlink '/1207599884996' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599884996.
DEBUG/(510): removing file '/1207599887207'
DEBUG/(510):  unable to unlink '/1207599887207' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599887207.
DEBUG/(510): removing file '/1207599889096'
DEBUG/(510):  unable to unlink '/1207599889096' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599889096.
DEBUG/(510): removing file '/1207599890999'
DEBUG/(510):  unable to unlink '/1207599890999' (errno=2)
WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599890999.


What do they mean ? I am sure it is not important and does not interfiere
with developping, but there are A LOT of such messages.


regards,
   Raul

--~--~---------~--~----~------------~-------~--~----~

3. AlertDialog that looks like ProgressDialog?

4. Query on upcoming API features

5. Totally Novice to Mobile apps developement

6. Help Installing

7. Error Receiving Broadcast Null in [IntentReceiver] (Very Easy)