Simple app to showcase videos.
Chris Hager chris@bitsworking.com
GNU General Public License v2
(see LICENSE
file)
- h264 encoded, .mp4 files
- The video files have to be put into the directory
SDCARD/VIDEOSHOWCASE/
- The videos may have thumbnail images
- Filenames:
- Video:
video#_beschreibungs-text.mp4
(eg.video1_kurzfilm-von-anna-lechner.mp4
) - Thumbnail:
thumbnail_video#.png
(eg.thumbnail_video1.png
)
- Video:
It's important that the showcase app is always running and on top (called 'Kiosk mode'). This is best achieved by having the app act as Home Screen (Android 4.2+): http://stackoverflow.com/a/19313091
Furthermore, external apps such as Autostart and StaY! can keep an app running in the foreground.
Other Links
- Immersive System UI: https://developer.android.com/training/system-ui/immersive.html
- App Persistance: http://stackoverflow.com/a/24251210
An easy way to exit is by having a region in the app which reacts to a certain number of clicks. In this video showcase app we use the topmost logo as click receiver. After about 10 clicks with less than 1s delay between, an exit dialog with a password input field is displayed.
There are several options to restrict internet access on the device: