Use setPackage() on the Intent to control who can possibly receive it.

On Thu, Nov 10, 2011 at 10:26 PM, Tomasz Gawel <[email protected]> wrote:
> Hi,
>
> is this possible to braodcast my intent to be visible only inside the
> application not to be visible system wide?
> i know, there is permission string paramter in both sendBroadcast and
> registerReceiver methods but i dont even want the user to know there
> are any permissions needed  (so i do not want make him grant this
> permission during instalation).
>
> thanks in advance :)
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: 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 [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

Reply via email to