wirog80 Member Licensed User Mar 30, 2016 #1 hi all, i want to view web page (with HTML5) using Webview control. the page can post image and choose to access Camera. in default Web browser or Chrome browser it running well, camera pop-up is shown. but if i loading with my app using Webview library, the pop-up is not shown. i have try to use HTML5 wrapper in this : https://www.b4x.com/android/forum/threads/simple-html5-app-wrapper.42875/ and try add this manifest <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> still can not shown a pop-up. maybe someone can solve this? or Webwview library doesn't support for it.. thanks.. Attachments web1.JPG 8.4 KB · Views: 726 web2.JPG 26.6 KB · Views: 792
hi all, i want to view web page (with HTML5) using Webview control. the page can post image and choose to access Camera. in default Web browser or Chrome browser it running well, camera pop-up is shown. but if i loading with my app using Webview library, the pop-up is not shown. i have try to use HTML5 wrapper in this : https://www.b4x.com/android/forum/threads/simple-html5-app-wrapper.42875/ and try add this manifest <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> still can not shown a pop-up. maybe someone can solve this? or Webwview library doesn't support for it.. thanks..
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2016 #2 I think that it is only supported in Android 5+: http://caniuse.com/#feat=stream Upvote 0
F fburgos722 Member Licensed User Longtime User Mar 18, 2018 #3 hello erel, my phone is android 7.0 and still I have the same problem. Please can you help me. Thank you Upvote 0
hello erel, my phone is android 7.0 and still I have the same problem. Please can you help me. Thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2018 #4 Why use WebView? Enjoy the fact that B4A creates native applications and access the camera directly. Upvote 0
F fburgos722 Member Licensed User Longtime User Mar 18, 2018 #5 Erel said: Why use WebView? Enjoy the fact that B4A creates native applications and access the camera directly. Click to expand... Because i have a native aplication that access with Webview. Its necesary. Talk me, Erel, webwview library doesn't support for it ? thank you Upvote 0
Erel said: Why use WebView? Enjoy the fact that B4A creates native applications and access the camera directly. Click to expand... Because i have a native aplication that access with Webview. Its necesary. Talk me, Erel, webwview library doesn't support for it ? thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2018 #6 B4A WebView is a thin wrapper over the native WebView. It supports whatever the native WebView supports. Upvote 0
B4A WebView is a thin wrapper over the native WebView. It supports whatever the native WebView supports.
F fburgos722 Member Licensed User Longtime User Mar 19, 2018 #7 It's not your answer but it does not work. As the man told you above in this same case he does not work either. And you must believe it. It will work with everything except the Camera and it is a real fact. I think it will play to find another alternative. Thanks for everything Erel said: B4A WebView is a thin wrapper over the native WebView. It supports whatever the native WebView supports. Click to expand... Upvote 0
It's not your answer but it does not work. As the man told you above in this same case he does not work either. And you must believe it. It will work with everything except the Camera and it is a real fact. I think it will play to find another alternative. Thanks for everything Erel said: B4A WebView is a thin wrapper over the native WebView. It supports whatever the native WebView supports. Click to expand...