Skip to content Skip to sidebar Skip to footer

Broadcast Not Received From Chrome Custom Tab Menu Item Click

I am doing the following within a Fragment (condensed for convenience): intentBuilder = new CustomTabsIntent.Builder(); String label = 'Test'; PendingIntent pendingIntent = createP

Solution 1:

Try adding an action to your broadcast.

Register it in manifest file like this:

<receiverandroid:name="com.example.app.MyReceiver" ><intent-filter><actionandroid:name="com.example.app.SOME_ACTION" /></intent-filter></receiver>

And setup intent like this:

IntentactionIntent=newIntent("com.example.app.SOME_ACTION");

Post a Comment for "Broadcast Not Received From Chrome Custom Tab Menu Item Click"