ShotNShare#
Button Mapper Integration#
To trigger a screenshot from your remote using Button Mapper:
- Open Button Mapper and select the button you want to remap.
- Choose "Add action" > "Applications".
- Select "ShotNShare ScreenshotActivity" (may appear as just "ScreenshotActivity").
- 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