ArronJo / sample-webview

This project is a sample for developing android applications using webview.
20 stars 11 forks source link

take a picture does not work #3

Open gmascanfroni opened 2 years ago

gmascanfroni commented 2 years ago

take a picture doesn't work at all in the example app. I try using an input type file, try using getusermedia too in the webview but no luck, it opens the camera but does not allow confirmation. Any other option?

ArronJo commented 2 years ago

Hello. I don't understand the phenomenon. Does this mean that the photo cannot be taken via <input type="file" accept="image/*" ..> ?

Please refer to the following for how to use getusermedia(). https://www.html5rocks.com/en/tutorials/getusermedia/intro/

2022년 2월 7일 (월) 오후 2:01, gmascanfroni @.***>님이 작성:

take a picture doesn't work at all in the example app. I try using an input type file, try using getusermedia too in the webview but no luck, it opens the camera but does not allow confirmation. Any other option?

— Reply to this email directly, view it on GitHub https://github.com/ArronJo/sample-webview/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXTPPHY76JU55XPVQQRRX3UZ5GZ5ANCNFSM5NWMV4CA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

gmascanfroni commented 2 years ago

Hello. I don't understand the phenomenon. Does this mean that the photo cannot be taken via <input type="file" accept="image/*" ..> ? Please refer to the following for how to use getusermedia(). https://www.html5rocks.com/en/tutorials/getusermedia/intro/ 2022년 2월 7일 (월) 오후 2:01, gmascanfroni @.>님이 작성: take a picture doesn't work at all in the example app. I try using an input type file, try using getusermedia too in the webview but no luck, it opens the camera but does not allow confirmation. Any other option? — Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXTPPHY76JU55XPVQQRRX3UZ5GZ5ANCNFSM5NWMV4CA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

hi. no, this means that if you run the app without any modification, the take picture button does not work. PD: except this issue... excellent work!!!