Android Question b4a - open URL using Google chrome as full screen mode?

IamTrying

Active Member
Licensed User
1. In my B4A App on click, it opens Google chrome browser. Where everything works well

B4X:
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?

iyfuftL.png


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.
 

William Hunter

Active Member
Licensed User
Longtime User
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).
WebRTC can be used in a WebView with SDK23 and higher. See the attached example.
 

Attachments

  • WebRTC.zip
    62.5 KB · Views: 478
Upvote 0
Top