N nosaj66au Member Licensed User Longtime User Jan 12, 2016 #1 Hi All, I've been using B4A about 4 years so not new to the product. However have a few graphic ".JS" file/Libraries that i normally reference and call from HTML. I would like to use them on a B4A canvases without re-inventing the wheel. Anyone point me in the right direction? Jason
Hi All, I've been using B4A about 4 years so not new to the product. However have a few graphic ".JS" file/Libraries that i normally reference and call from HTML. I would like to use them on a B4A canvases without re-inventing the wheel. Anyone point me in the right direction? Jason
R Roycefer Well-Known Member Licensed User Longtime User Jan 12, 2016 #2 You could use an HTML5 Canvas inside a WebView and use WebViewExtras to execute your JavaScript library. But using JavaScript to draw on a native Android Canvas, it's unlikely that that is workable within B4A. Seems more like a PhoneGap idea. Upvote 0
You could use an HTML5 Canvas inside a WebView and use WebViewExtras to execute your JavaScript library. But using JavaScript to draw on a native Android Canvas, it's unlikely that that is workable within B4A. Seems more like a PhoneGap idea.
N nosaj66au Member Licensed User Longtime User Jan 12, 2016 #3 Yes I agree just looking if Webview /Extras will do what I need. Can I Reference external .Js files ? Upvote 0
Yes I agree just looking if Webview /Extras will do what I need. Can I Reference external .Js files ?