On May 6, 5:33 pm, jseghers <[email protected]> wrote:
> On May 6, 2:49 pm, Dianne Hackborn <[email protected]> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---