A Adamdam Active Member Licensed User Longtime User Apr 12, 2026 #1 Dear All, Greetings, I have created a PHP page that allows users to send messages and upload images to the server. The page works correctly when accessed through a browser (both localhost and remote servers). However, when loading the same page inside a WebView, most functionalities stop working—specifically: Image upload does not work Camera access is not triggered WhatsApp sharing does not work (this part was resolved by handling it directly in the B4A app instead of WebView) Could you please advise? Is there a newer version of WebView that resolves these limitations? Or are there specific configurations/permissions required to enable file upload and camera access inside WebView? Any guidance would be greatly appreciated. Best regards, Attachments request_msg.zip request_msg.zip 6 KB · Views: 150
Dear All, Greetings, I have created a PHP page that allows users to send messages and upload images to the server. The page works correctly when accessed through a browser (both localhost and remote servers). However, when loading the same page inside a WebView, most functionalities stop working—specifically: Image upload does not work Camera access is not triggered WhatsApp sharing does not work (this part was resolved by handling it directly in the B4A app instead of WebView) Could you please advise? Is there a newer version of WebView that resolves these limitations? Or are there specific configurations/permissions required to enable file upload and camera access inside WebView? Any guidance would be greatly appreciated. Best regards,
Erel B4X founder Staff member Licensed User Longtime User Apr 12, 2026 #2 Check this example: https://www.b4x.com/android/forum/threads/upload-files-with-webview.98623/#content Upvote 0
Check this example: https://www.b4x.com/android/forum/threads/upload-files-with-webview.98623/#content