Hi,
I am a Moodle developer last 5+ years. I have working of many type of moodle plugin.
Your requirement is if Student scan a this QR code then activity is completed. So, you can use Moodle mobile app, and other app or in Mobile browser (site is open in moodle browser).
Thanks & Regards
Brajendra Shrivastava