LAMW - jWebView enabling camera / file access lazarus / 43-Android ---------------------------------------------------------------------- Mongkey · 2021-08-27 11:01 I found this very useful for dealing with hybrid apps for uploading something. This one is java related modification inside jWebView.java, its very difficult for me. https://stackoverflow.com/questions/47811428/react-native-webview- getusermedia-not-working-onpermissionrequest- override/49029414#49029414 ---------------------------------------------------------------------- rsu333 · 2021-08-27 11:59 Good job ---------------------------------------------------------------------- Mongkey · 2021-08-27 12:33 I'm not doing nothing ---------------------------------------------------------------------- jmpessoa · 2021-08-27 16:06 Quotehis one is java related modification inside jWebView.java what modification/added we need to add? ---------------------------------------------------------------------- Mongkey · 2021-08-27 19:23 Jwebview has no granted access to file / camera, ex: sometimes on web app has uploading feature --> need overriding grant on camera, mic , and video. May be you can get it overrided, so we can upload something on web over jwebview. On java: MediaDevices.getUserMedia() This is sample html element with accessing media Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   This is the solution link for that problem: https://stackoverflow.com/questions/47811428/react-native-webview- getusermedia-not-working-onpermissionrequest- override/49029414#49029414 Thank you prof JM. ---------------------------------------------------------------------- jmpessoa · 2021-08-28 06:56 done! Thank you! ---------------------------------------------------------------------- Mongkey · 2021-08-28 14:18 Awesome, many r trying hard to this  , thank you, if it is possible to catch toast/any text emitted by clicking any html control -> interacting between inside jwebview n native control, it would become a new framework -> LAMW7  , ha ha, very fast fixing is not easy job, and again thank you very much for building this really helpful n handy framework. after test -> still not work, but this one are really huge improvement ---------------------------------------------------------------------- Mongkey · 2023-05-07 05:50 Found solved webview accessing camera/video: https://github.com/mgks/Android-SmartWebView/blob/master/app/src/main/ java/mgks/os/swv/MainActivity.java Using intent for receiving media result into webview.