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.

External lib call

Thread ID:





116208 Apr 24,2014 08:36 AM Apr 25,2014 08:09 AM Orubase 1
Tags: Orubase
Grégory Douguet
Asked On April 24, 2014 08:36 AM


Is it possible to call a method from an external native compiled library which will be included in the project ?


Karthick T [Syncfusion]
Replied On April 25, 2014 08:09 AM

Hi Greg,


Thanks for your interest in Syncfusion Products.


Yes, it is possible to call the external library methods which is included in the project. We can achieve native functionality (may also in external library) apart from the Orubase in-built APIs with the help of the “handleScripts()” method, which is used to handle the custom native code via JavaScript.


The following code snippet should be defined in the JavaScript to call the “handleScripts” method to define the Custom Native Codes.


Android.ProcessJavaScript("Custom",null, null);


Define or call the Custom Native Codes inside the below method.



public void handleScripts(String script) {

   // TODO Auto-generated method stub

   // Call custom libraries method here



We have prepared a sample for Android platform which displays alert dialog from Orubase and also from the external library “toast.jar”.


Please check the attached sample and let us know if you have any further assistance.



Karthick T

Attachment: OrubaseDemoProject_38da69f4.zip


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.