|
YAACC - UPNP Client and Server
|
Opens fcast://r/... links (task 5.6): the QR code that an FCast receiver shows, scanned with the device's own camera or scanner app, or a link from any other app or web page.
More...


Protected Member Functions | |
| void | onCreate (Bundle savedInstanceState) |
| void | onNewIntent (Intent intent) |
| void | onDestroy () |
Opens fcast://r/... links (task 5.6): the QR code that an FCast receiver shows, scanned with the device's own camera or scanner app, or a link from any other app or web page.
YAACC needs no scanner, no camera permission and no new dependency for it.
The link is untrusted. The activity reads getDataString() only; FCastLinkIntake decides what it is. Nothing is connected, played or stored before the user taps Add in the confirmation dialog, which shows the name, the addresses and a note on the protocol. A malformed link shows "not an FCast link" and nothing else; the same link twice within two seconds is ignored; the link text is never logged. Add goes through the same input as a typed-in receiver (FCastAddReceiver: the addresses are tried in order, the first that answers is stored) and opens the receivers page. If another installed app registers the scheme as well (the FCast sender, Grayjay) the system shows its chooser and the user picks YAACC.