The camera that calls Android in the html rendered by ft.WebView does not respond!!!! #3226
Unanswered
hanchenglong001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I tried using webview in an Android app packaged with flet. Then call the camera module in the html page. But it failed.
Code example to reproduce the issue:
test.html
main.py
I added the AndroidManifest. XML
Describe the results you received:
Clicking the button does not turn on the camera properly. But it is call the camera by opening a web page in a mobile browser.
Operating system:
Windows
python3.9
Android12
requirements.txt
flet==0.22.*
requests==2.31.0
flask==3.0.3
Beta Was this translation helpful? Give feedback.
All reactions