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. Taking Screenshots from Phone using Windows 7?

Had you by chance connected your phone to your computer once before having
it set up to debug?

There is a known issue on Windows when this is the case.  If this is your
problem, try following these steps:

Try this link:
http://www.anddev.org/debugging-installing_apps_on_the_g1_windows_driver-t3236.html

Step 5 most likely will not happen. If it does not then try the
following:
- Open Device Manager
- You should see something mentioning your Galaxy, or an ADB
Interface, or perhaps even just something with a yellow question mark
on it
- Right click and choose "Update Driver Software"
- Browse to the file you downloaded and unzipped
- When finished restart your computer

Thanks,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------






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

2. QSB and Images in suggestion provider

hi Everyone,

I was playing with the QSB and content providers and I found a problem
at the time of using suggestions providers. What I want to achieve is
what the contact app have which is to show an image in a suggestion
with the particular need that the image is not a resource, I have them
stored in a database so, basically I have them as bytes.

As far as I understood a row (in a matrix cursor) for the field
SUGGEST_COLUMN_ICON_1 can be completed using a content, a resource id
or a file.

When I try to set the value for that image as "content://com.mycompany/
items/1" the content provider that is supposed to handle this is not
ever invoked.

Can anyone give a any clue about what I am doing wrong or how can I
achieve this ? If

Regards, Pablo
--~--~---------~--~----~------------~-------~--~----~

3. Android getConnectionInfo() crash

4. Application max heap size

5. Listen for MapView zoom?

6. T2S OnUtteranceCompletedListener not working

7. Orientation Sensors - they don't seem correct?