Skip to content

Commit dd0694e

Browse files
authored
Update README.md
1 parent ecd9cc6 commit dd0694e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,20 @@ public class FileSelectedBroadCastReceiver extends BroadcastReceiver {
105105

106106
```
107107

108+
Register the receiver like the following snippet
109+
110+
``` xml
111+
112+
<receiver android:name=".FileSelectedBroadCastReceiver"
113+
android:exported="false"
114+
android:enabled="true">
115+
<intent-filter>
116+
<action android:name="com.adityak.filebrowser.FILE_SELECTED_BROADCAST" />
117+
</intent-filter>
118+
</receiver>
119+
120+
```
121+
108122
If you also need some other parameters to be sent with the broadcast use the following when creating the activity
109123
``` java
110124

0 commit comments

Comments
 (0)