Skip to content Skip to sidebar Skip to footer

Android - Using Uri Permissions With Broadcast

I am trying to test whether URI permissions work with Broadcast. The first app I have has the following code in an activity : Intent intent = new Intent('com.android.testintent.app

Solution 1:

The reason is that you are not matching the <intent-filter>. Your <intent-filter> is only matching on the action string. You also need to qualify for your Uri, via a <data> element indicating that you support the content scheme the right MIME type.


Post a Comment for "Android - Using Uri Permissions With Broadcast"