# 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): ```sh 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 ```