Intercepting Implicit intent to load arbitrary URL
PreviousUse of Implicit intent to send a broadcast with sensitive dataNextInsecure Implementation of SetResult in exported Activity
Last updated
Last updated
The class com.insecureshop.ProductListActivity
registers a receiver as shown below.
The code says the receiver named productDetailBroadCast
will trigger when the intent filter com.insecureshop.action.PRODUCT_DETAIL
is called.
The receiver com.insecureshop.broadcast.ProductDetailBroadCast
contains the following code.
The code takes an action, an extra and starts the activity.