Skip to content
The companion app for Android to make running TheFragebogen on Android fun again.
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
LICENSE.md
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

TheFragebogen-android

The companion app for Android to make running TheFragebogen on Android fun again. On startup, the app tries to load a html-file from Downloads/index.html. Collected data is written to Downloads/TheFragebogen-${timestamp}.csv.

Features:

  • fixed screen brightness (max),
  • fixed orientation,
  • disabled screen timeout, and
  • supports local download (blob URL).

Configuration: none.

Requirement: TheFragebogen's ScreenWaitDataDownload can only be used, if the ScreenController is referenced as global variable called screenController .

Technical details

The app consists only of a WebView. On startup it checks required permissions and requests these if not yet granted.

Android's DownloadManager does not support blob's (anymore). Therefore, blob downloads are intercepted and data are exported via WebView.evaluateJavascript() executing javascript:encodeURI(screenController.requestDataCSV()).

You can’t perform that action at this time.