Access phone android app from Streamlit, such as qr code, or google map (GPS)

I would like to if there is a way

  1. To use the qr code scanner on an android phone within streamlit ? streamlit.file_uploader would allow the user to select “camera”, but for some reason the QR scanner function (which is available for most of the phone camera) is not available.

  2. To get the GPS coordinates of the mobile device (android) with streamlit? not sure if it is possible to directly access the hardware or via google map

Thank you very much for your help.

Hi @WHH, welcome to the Streamlit community!

I would expect for both of your questions, you would need to use a phone SDK to get access to those sorts of features. Streamlit itself doesn’t have that level of mobile integration built-in.