22
33A FileBrowser / FileChooser for Android that you can integrate to your app to browse/select files from internal/external storage.
44
5+ # Using Maven
6+ ``` xml
7+ <dependency >
8+ <groupId >com.adityak</groupId >
9+ <artifactId >browsemyfiles</artifactId >
10+ <version >1.2</version >
11+ <type >pom</type >
12+ </dependency >
13+ ```
14+ # In build.gradle
15+ ```
16+ compile 'com.adityak:browsemyfiles:1.2'
17+ ```
18+
19+
520<img src =" https://cloud.githubusercontent.com/assets/19688735/25305189/670232ec-2794-11e7-819f-b92f487b3075.png " width =" 300 " > <img src =" https://cloud.githubusercontent.com/assets/19688735/25305190/670328a0-2794-11e7-86ac-62b69af7b577.png " width =" 300 " >
621<img src =" https://cloud.githubusercontent.com/assets/19688735/25305188/6701de1e-2794-11e7-981f-7d6d0124b2b2.png " width =" 300 " > <img src =" https://cloud.githubusercontent.com/assets/19688735/25305187/6701b74a-2794-11e7-8057-c5677db858b0.png " width =" 300 " >
722<img src =" https://cloud.githubusercontent.com/assets/19688735/25305186/6701b33a-2794-11e7-8c58-d5da64e40768.png " width =" 300 " > <img src =" https://cloud.githubusercontent.com/assets/19688735/25305191/67038f8e-2794-11e7-8777-4bb0db870c31.png " width =" 300 " >
@@ -14,7 +29,6 @@ It easily integrates with your app's color scheme. You can change the color sche
1429<item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
1530<item name =" colorAccent" >@color/colorAccent</item >
1631<item name =" android:actionModeBackground" >@color/actionModeToolbar</item >
17- <item name =" windowActionModeOverlay" >true</item >
1832```
1933
2034There are 3 main classes to use the library.
@@ -90,6 +104,20 @@ public class FileSelectedBroadCastReceiver extends BroadcastReceiver {
90104
91105```
92106
107+ Register the receiver like the following snippet
108+
109+ ``` xml
110+
111+ <receiver android : name =" .FileSelectedBroadCastReceiver"
112+ android : exported =" false"
113+ android : enabled =" true" >
114+ <intent-filter >
115+ <action android : name =" com.adityak.filebrowser.FILE_SELECTED_BROADCAST" />
116+ </intent-filter >
117+ </receiver >
118+
119+ ```
120+
93121If you also need some other parameters to be sent with the broadcast use the following when creating the activity
94122``` java
95123
@@ -108,3 +136,5 @@ Bundle b = intent.getExtras()
108136
109137
110138
139+ If you have any questions/queries/Bugs/Hugs please mail @
140+ adityak368@gmail.com
0 commit comments