Glad you were able to get it worked out.
On Tue, Jan 19, 2016, 8:32 PM NuffsaidM8 wrote:
> As soon as I last posted I figured out what you meant and fixed the issue.
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To un
As soon as I last posted I figured out what you meant and fixed the issue.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to android-developers+unsu
I retract my former statement about not understanding the passing data. I
have found a solution. Thanks!
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to a
No, not quite...
The boot up of the phone is a special case scenario. I'm saying that in
that scenario you can't rely on the broadcast system, so you need to come
up with another code path to manually get your activity's receiver code
executed.
I would take the code that is executed in your rece
In addition, your theory about the activity being created too late is
correct. I set a log statement in the onCreate method of the activity and
this message was displayed to me. The message from the receiver in that
class though was not displayed. The creation message was displayed after
the me
I apologize for not taking the time to work out my issues all myself. I'm a
little out of my league here and am on a tight schedule. I am still
slightly confused about a few things, such as:
Why do I need to pass data through to the activity? All I want to do right
now is start it up so that wh
My apologies... looking at your code again, I was a bit mistaken... you are
using an explicit intent to start your activity. My guess is that the
broadcast is getting sent before your activity has registered itself.
If that is indeed the case, I would suggest passing extra data through the
intent
If you send a broadcast, and your activity isn't currently running, then
your Broadcast receiver isn't registered with the OS. How could it be? Your
activity hasn't run the code to register itself. And, furthermore, if
you've done it correctly, when your activity goes away, it should
unregister it
I did the receiver with only code, that's correct. What do you mean that I
need to start the activity? I thought that was what I was doing.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving
>From what you've described, I suspect you are doing your receiver only in
code, which will not allow you to do what you want... This kind of receiver
is only active while your activity is active. Since your activity is not
active, neither is your receiver.
Why not just start your activity explici
10 matches
Mail list logo