Try look at manifest, set clear traffic, may be it helpsFor the manifest: I didn't realize yet how to include permissions other than those listed into Project Options/LAMW Configuration. For example, I need to use the microphone. The manifest gets overwritten every time, I just can't simply put it there.
I need to use the microphone. The manifest gets overwritten every time, I just can't simply put it there.
I've modified it there, added the onReceivedSslError() in jWebViewClient,
QuoteI've modified it there, added the onReceivedSslError() in jWebViewClient,
Please, put code here ...
I will try updated jWebViewClient!
QuoteI need to use the microphone. The manifest gets overwritten every time, I just can't simply put it there.
Please, put here what permission you need ...
android.permission.MODIFY_AUDIO_SETTINGS
android.permission.RECORD_AUDIO
Again, considering: https://stackoverflow.com/questions/62037838/android-webview-not-getting-camera-and-mic-enabled-for-conferenceAfter getting those permissions, you need to override onPermissionRequest in WebChromeClient like this:And that is just another modification in the jWebView.java. ;)
webView.setWebChromeClient(new WebChromeClient() { @Override public void onPermissionRequest(final PermissionRequest request) { request.grant(request.getResources()); } });
[Window Title]laz4android: Lazarus 2.0.0 rUnknown FPC 3.0.4 i386-win32-win32/win64
Lazarus IDE v2.0.0 - project1
[Content]
Unable to open file "D:\devel\android\android-ndk-r10e\REALEASE.TXT".
Press OK to ignore and risk data corruption.
Press Abort to kill the program.
[OK] [Abort]
It is quite strange, when I try to reach LAMW/Path Settings, laz4android gives me:Quote[Window Title]laz4android: Lazarus 2.0.0 rUnknown FPC 3.0.4 i386-win32-win32/win64
Lazarus IDE v2.0.0 - project1
[Content]
Unable to open file "D:\devel\android\android-ndk-r10e\REALEASE.TXT".
Press OK to ignore and risk data corruption.
Press Abort to kill the program.
[OK] [Abort]
The file is actually there %)
Edit: That happened after I cloned fresh LAMW from github and rebuilt laz4android
*snip*REALEASE.TXT (?!) I should go for my glasses replacement. Thanks!
I just copied RELEASE.TXT and renamed it to REALEASE.TXT. It's spelling error somewhere.
I just copied RELEASE.TXT and renamed it to REALEASE.TXT. It's spelling error somewhere.
QuoteI just copied RELEASE.TXT and renamed it to REALEASE.TXT. It's spelling error somewhere.
It's spelling error .... LAMW??
I will try fix some fix....