- Jun 6, 2020
- 11,559
- 4,422
addJavascriptInterface [WebViewExtras] CallSub [B4XPages] Example
I created a Example (after search and not found)
send data: from WebView to B4X / from B4X to WebView ,
using addJavascriptInterface and CallSub,
thre are sam B4XPages also, hope it's useful, and there are some room for improvement
(After I work on a Example in AndroidStudio I make same in B4A, AndroidStudio zip atached)
Libraries
B4XPages 1.05
Core 9.90
HttpServer 1.00
Network 1.52
Phone 2.50
Reflection 2.40
StringUtils 1.12
WebViewExtras 1.42
WebViewSettings 1.13
B4XaddJavascriptInterface:
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
------
AndroidStudio JSBridge:
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
...
I created a Example (after search and not found)
send data: from WebView to B4X / from B4X to WebView ,
using addJavascriptInterface and CallSub,
thre are sam B4XPages also, hope it's useful, and there are some room for improvement
(After I work on a Example in AndroidStudio I make same in B4A, AndroidStudio zip atached)
Libraries
B4XPages 1.05
Core 9.90
HttpServer 1.00
Network 1.52
Phone 2.50
Reflection 2.40
StringUtils 1.12
WebViewExtras 1.42
WebViewSettings 1.13
B4XaddJavascriptInterface:
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن تصاویر باید ثبت نام کنید
------
AndroidStudio JSBridge:
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
برای دیدن لینک ها باید ثبت نام کنید
...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید