Take control of the radio with one tap
SSTV-AF 1.0.0 adds a Take control of radio button that takes the rig back from other apps, asks again for missing USB permissions and reconnects.
SSTV-AF 1.0.0 has a Take control of radio button for when the radio is not responding or another app has it. One tap takes the radio from other apps, asks again for any missing USB permission, and reconnects the radio and its audio.
Where it is
At the top of Settings → Radio & Audio.
What one tap does
- Claims the radio from the other AF-family apps on the phone.
- Stops anything the app has on the air and drops its CAT link.
- Asks again for every USB permission the app needs and does not hold, and for the microphone permission if that is missing.
- After a second, reconnects the radio and rebuilds the audio input from scratch.
Afterwards the button tells you what it found:
- Asking: a permission is missing and Android is prompting for it. Tap Allow.
- All granted: there was nothing to ask, and the app is reconnecting.
- No USB device: permissions are fine, but no USB radio or sound card was found. Check the cable.
Android gives an app no way to give up a USB permission it already holds, so a device that is already allowed is not asked about again.
Sharing one radio between AF apps
The button came out of a real case: two AF apps on one phone with one radio. The app left in the background kept its CAT port and its USB audio, the two kept taking the USB audio from each other, and SSTV-AF got under three minutes of rig audio in ten.
SSTV-AF now follows one rule: the app in front of you owns the radio. When you open it, it asks the other AF apps to let go. When another AF app asks, SSTV-AF stops any transmission, closes its CAT link and USB audio, and shows a notification such as "Radio handed to FT8AF — open SSTVAF to take it back".
The automatic handoff needs the other app to carry the same change; with an older build of the other app, nothing changes. At the time of writing, FT8AF's release on Google Play does not include it yet, and RTTYAF and JTTYAF do not have it.
Limits
When this was built, the button and the handoff were tested between SSTV-AF and FT8AF on an emulator, with no USB radio attached. The button's text and the handoff notification are in English only for now.
Get it
Update SSTV-AF from Google Play, and tell us how it behaves with your radio on Discord.
SSTV-AF is free and open source. Download the latest version to try it on the air.