We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Javascript Interface

Thread ID:

Created:

Updated:

Platform:

Replies:

115344 Jan 10,2014 10:15 AM Jan 16,2014 08:47 AM Orubase 1
loading
Tags: Orubase
Carlos Lopes
Asked On January 10, 2014 10:15 AM

Hi.

How do I get the webview from orubase on android? The method "getCurrentWebView()" returns null.

Thank you.

Gobi M [Syncfusion]
Replied On January 16, 2014 08:47 AM

Hi,

Thanks for using Syncfusion products..

The Orubase Tab bar application which is generated from Orubase Project wizards contains their own separate Orubase WebView for each tab. The method getCurrentWebView is used to get the current Orubase WebView in tab bar application. So, it is possible to add Custom JavaScript Interface with the existing Orubase Android Project. For SPA(Single Page Application) projects, getCurrentWebView() is not applicable and it always returns null.

We have prepared a sample application and documentation to show case “Adding JavaScript Interface for existing Orubase Project”

Could you please confirm with your requirement and provide more details if the issue is still not resolved?

Regards,

Gobi M


OrubaseWebViewDemo_a6c6590d.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;