-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CopyRights and Update ReadME File
- Loading branch information
Hariharan
committed
Nov 15, 2021
1 parent
397ebf1
commit fdaf2a8
Showing
56 changed files
with
484 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*.iml | ||
.gradle | ||
.idea | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,63 @@ | ||
# Android11FilePicker | ||
# Android FilePicker | ||
|
||
# Description | ||
|
||
This app can make the file picking process easy, which allows you to select Pictures, Videos, and Documents. Also, that has Capturing Photo/Video option. | ||
For using this library, you need to migrate your project to AndroidX(If your project is not migrated to AndroidX). | ||
|
||
|
||
<img src="app_demo_a.jpg" width="30%" height="30%"/> | ||
|
||
|
||
# Getting Started | ||
|
||
To add this library to your project, please follow below steps | ||
|
||
Add this in your root `build.gradle` file (project level gradle file): | ||
|
||
```gradle | ||
allprojects { | ||
repositories { | ||
maven { url "https://www.jitpack.io" } | ||
} | ||
} | ||
buildscript { | ||
repositories { | ||
maven { url "https://www.jitpack.io" } | ||
} | ||
} | ||
``` | ||
|
||
Then, Add this in your root `build.gradle` file (app level gradle file): | ||
|
||
add implementation 'implementation 'com.github.braver-tool:Android11FilePicker:0.1.1' to your build.gradle dependencies block. | ||
|
||
for example: | ||
|
||
``` | ||
dependencies { | ||
implementation 'com.github.braver-tool:Android11FilePicker:0.1.1' | ||
} | ||
``` | ||
|
||
# Key Features : | ||
|
||
- Fully Handled Android's Dangerous Permissions | ||
- Compressing option for selected images included, | ||
- To Preview your selected images using 'PhotoView' | ||
- To Preview your selected videos using exoplayer | ||
|
||
This library compatible with Android 6 and above | ||
|
||
|
||
## Version Compatibility | ||
It depends on your targetAPI: | ||
- `targetAPI <= 28`, you are fine ;) | ||
- `targetAPI >= 29`, please enable `requestLegacyExternalStorage` on your Manifest.xml file | ||
|
||
## Permissions Needed : | ||
|
||
* android.permission.READ_EXTERNAL_STORAGE | ||
* android.permission.CAMERA | ||
* android.permission.RECORD_AUDIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
app/src/androidTest/java/com/braver/tool/filepicker/ExampleInstrumentedTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
app/src/main/java/com/braver/tool/filepicker/CustomPreferencesManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
app/src/main/java/com/braver/tool/filepicker/LaunchActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.