How to limitate broadcast to its own Android app
I wondering if it is possible to create a private broadcast. I actually
register broadcastreceiver in my activity and use
sendOrderedBroadcast(broadcast);
method to send the broadcast. But, for now, the intent (broadcast) used
for this method is defined like this :
Intent broadcast = new Intent("com.mypackage.broadcast");
So every external application which declare this package name can listen
what I am sending, and I don't want to.
So how to make this impossible, that no one can listen my broadcast ?
Thank you for your time.
Bibu
No comments:
Post a Comment