IamTrying Active Member Licensed User Nov 9, 2017 #1 1. In my B4A App on click, it opens Google chrome browser. Where everything works well Code: Copy Dim i AsIntent i.Initialize(i.ACTION_VIEW, "https://www.invisible-site.gov/invisibleReferences") i.SetComponent("com.android.chrome") StartActivity(i) 2. But, in my project i must have to full fill two requirements which is not working in my present situation. How do i make following Google chrome screenshot reference 1 and 2 work? reference 1 is: hide the address which is confidential reference 2 is: closing the Google chrome window using Javascript window.close() never works If we cant solve it using B4A. I therefore want to know if there is any B4A WebRTC library available (such as WebView)? Cause Point1, and Point2 is a must requirement in my project.
1. In my B4A App on click, it opens Google chrome browser. Where everything works well Code: Copy Dim i AsIntent i.Initialize(i.ACTION_VIEW, "https://www.invisible-site.gov/invisibleReferences") i.SetComponent("com.android.chrome") StartActivity(i) 2. But, in my project i must have to full fill two requirements which is not working in my present situation. How do i make following Google chrome screenshot reference 1 and 2 work? reference 1 is: hide the address which is confidential reference 2 is: closing the Google chrome window using Javascript window.close() never works If we cant solve it using B4A. I therefore want to know if there is any B4A WebRTC library available (such as WebView)? Cause Point1, and Point2 is a must requirement in my project.
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2017 #2 You cannot control the external browser. You will need to use WebView for that. Upvote 0
IamTrying Active Member Licensed User Nov 10, 2017 #3 https://developer.chrome.com/multidevice/android/customtabs WebView wont have WebRTC? Maybe in future. Dont see anything at this moment. So i have to go back to Cordova(which i hate to go back). Upvote 0
https://developer.chrome.com/multidevice/android/customtabs WebView wont have WebRTC? Maybe in future. Dont see anything at this moment. So i have to go back to Cordova(which i hate to go back).
stevel05 Expert Licensed User Longtime User Nov 10, 2017 #4 You could try this: https://www.b4x.com/android/forum/threads/chrome-custom-tabs.70312/#content I don't know what has been implemented so far. Upvote 0
You could try this: https://www.b4x.com/android/forum/threads/chrome-custom-tabs.70312/#content I don't know what has been implemented so far.
William Hunter Active Member Licensed User Longtime User Nov 10, 2017 #5 WebView wont have WebRTC? Maybe in future. Dont see anything at this moment. So i have to go back to Cordova(which i hate to go back). Click to expand... WebRTC can be used in a WebView with SDK23 and higher. See the attached example. Attachments WebRTC.zip WebRTC.zip 62.5 KB · Views: 806 Upvote 0
WebView wont have WebRTC? Maybe in future. Dont see anything at this moment. So i have to go back to Cordova(which i hate to go back). Click to expand... WebRTC can be used in a WebView with SDK23 and higher. See the attached example.