android-app-Test-FileProvider/README.md

27 lines
824 B
Markdown

# Android App with FileProvider
A "FileProvider" is a special type of "ContentProvider"
The goal of this repo, is to create a container that can serve to produce an "empty android Application" (i.e `app.apk` file).
As such the philosophy is to keep the process "simple" as to now make the understanding too difficult.
The Code regarding the FileProvider setup was adopted from
https://github.com/commonsguy/cw-omnibus/blob/master/ContentProvider/Files/app/src/main/java/com/commonsware/android/cp/files/AbstractFileProvider.java
and the copyright notice was retained in the files
## usage
0. clone this repo
1. run
```
./build-android-app.sh
```
2. follow the configuration
3. upon success the apk file created is in app/result/app.apk and can be installed via `adb`
```
adb install -r app/result/app.apk
```