Yep that's good.

On Fri, May 8, 2009 at 10:06 AM, jseghers <jsegh...@cequint.com> wrote:

>
>
>
> On May 6, 5:33 pm, jseghers <jsegh...@cequint.com> wrote:
> > On May 6, 2:49 pm, Dianne Hackborn <hack...@android.com> wrote:
> >
> > > [B]e aware that if you do this by sending to a registered broadcast
> receiver,
> > > you can cause security holes because other people can also register for
> the
> > > broadcast and send a broadcast to your client.
>
> I think I found more what Dianne was suggesting with PendingIntent.
> I'm now using Activity.createPendingResult() which overloads the
> onActivityResult() mechanism and thus there's no need to set up a
> broadcast receiver.  This makes the remote service very close in
> concept to a LocalService using Handlers.
>
> - John
> >
>


-- 
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to