Dianne, I have noticed you dispatch useful information on several
occasions that is either not obvious or not included in the
documentation. Is it not possible for you to update the online docs as
you post messages? Screen_on/off not working via the manifest also
caused me much aggravation.
Hello everybody.
Carter, did you find out what was the problem?
I am having exact same issue.
the receivers are installed with no problems, however they do not
receive SCREEN_ON or SCREEN_OFF broadcasts for some reason, unless I
do everything programatically.
Here is the receiver snippet from my
These are currently only delivered to receivers actively registered with
registerReceiver().
On a side note... why are you running your receivers in a separate
process??
On Tue, Jan 6, 2009 at 1:57 PM, ArtJin ajin...@gmail.com wrote:
Hello everybody.
Carter, did you find out what was the
Got it thanks.
To answer your question let me describe what I am trying to do.
I have an AlarmManager that runs a service, which connects to web
server and gets some data.
Everything works fine, but battery drains quickly since AlarmManager
stops running only when CPU stops.
So I wanted to
My question was actually about why you are using multiple processes for your
receiver components. Nothing in what you describe indicates that you need
that. Keep in mind that each process currently requires about 2MB of
overhead, and slows down your app if it needs to be launched.
On Tue, Jan
I just changed my service class to run the thread loop with handler,
instead of creating a scheduled alarm.
This way my app is able to react on screen changes, since SCREEN_ON/
OFF broadcasts are available only when actively registered.
Lots of learning today :-)
Thanks a bunch for your help.
On
Oh, I did not understand the question, apologies. Good point!
I fixed that, so everything is handled by a single process that
receives both on and off broadcasts.
Thanks.
On Jan 6, 6:01 pm, ArtJin ajin...@gmail.com wrote:
I just changed my service class to run the thread loop with handler,
7 matches
Mail list logo