No description
Find a file
2025-01-05 23:59:53 +01:00
app rename package to app.testfileprovider 2025-01-05 23:59:53 +01:00
.gitignore cleanup Makefile and .gitignore 2024-12-29 09:17:22 +01:00
build-android-app.sh fix missing pipefail in build script 2025-01-05 22:59:22 +01:00
README.md add working FileProvider Intent sourcecode 2025-01-05 23:18:04 +01:00

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

  1. clone this repo
  2. run
./build-android-app.sh
  1. follow the configuration
  2. 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