Tuesday, June 5, 2012

[android-developers] Re: Sending Custom Broadcast received on GB but not on HC or ICS

Yes, I do want to launch the app even if it is stopped and setting the
intent flag as you propose does the job, thanks.
May be this would deserve to be mentioned in the sendBroadcast API
reference...
Eric

On Jun 5, 6:41 am, Dianne Hackborn <hack...@android.com> wrote:
> The answer there is probably incomplete for this question.  If you know for
> sure that you want to launch the app even if it is currently stopped, you
> can use this:http://developer.android.com/reference/android/content/Intent.html#FL...
>
>
>
>
>
>
>
>
>
> On Mon, Jun 4, 2012 at 1:48 PM, Mark Murphy <mmur...@commonsware.com> wrote:
> > On Mon, Jun 4, 2012 at 1:07 PM, emfl <eric.mf.laur...@gmail.com> wrote:
> > > The following code works fine on GB, but not on HC or ICS (using
> > > android simulator in all 3 cases)
> > > BcastTestAppActivity and Receiver are running in separate
> > > applications.
>
> > Make sure you are not being caught by this:
>
> >http://stackoverflow.com/a/9955247/115145
>
> > --
> > Mark Murphy (a Commons Guy)
> >http://commonsware.com|http://github.com/commonsguy
> >http://commonsware.com/blog|http://twitter.com/commonsguy
>
> > Android Training in DC:http://marakana.com/training/android/
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate