Android TV app to quickly take an screenshot and do something with it.
Java 48.7%
Shell 45.6%
Dockerfile 5.7%
2 1 0

Clone this repository

https://tangled.org/frabarz.cl/shotnshare
git@git.frabarz.cl:frabarz.cl/shotnshare

For self-hosted knots, clone URLs may differ based on your setup.

README.md

ShotNShare#

Button Mapper Integration#

To trigger a screenshot from your remote using Button Mapper:

  1. Open Button Mapper and select the button you want to remap.
  2. Choose "Add action" > "Applications".
  3. Select "ShotNShare ScreenshotActivity" (may appear as just "ScreenshotActivity").
  4. Now, pressing the button will trigger a screenshot and open the share dialog.

If you want to trigger via intent, use:

Intent action: cl.frabarz.shotnshare.ACTION_TRIGGER_SCREENSHOT
Component: cl.frabarz.shotnshare/.ScreenshotActivity

Local Container Build#

To build the APK locally in a container (no Android Studio or SDK needed):

docker build -t shotnshare-android .
mkdir -p app/build/outputs/apk/debug
# Run the build and copy the APK to your host
# (the APK will appear in ./app/build/outputs/apk/debug)
docker run --rm -v "$PWD/app/build/outputs/apk/debug:/output" shotnshare-android