Software Archive
Read-only legacy content
17060 Discussions

How to include java library file (.jar file) in javascript in intel XDK

Anjali_P_
Beginner
1,126 Views

Hii.

I have created an external cordova plugin and imported this plugin as local plugin in intel xdk. This plugin is properly installed and  it works properly when i created a sample intel xdk project and included this plugin  and also i am able to use the method of the java file and bulid the apk file. It works well in the android phone........

Now, i want to include lib (.jar) file in the plugin . Is this possible ?

Just check the link : http://stackoverflow.com/questions/26121635/how-to-add-library-resource-to-cordova-project

Please help me and provide any references link ... if possible.

Regards,

Anjali Paria.

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
1,126 Views

See this simple plugin that simply adds a JAR file to the build system > https://github.com/MobileChromeApps/cordova-plugin-android-support-v4. I do not know if anything special needs to be done to the JAR before doing this, but it is probably the simplest example you can find for how this is done in a Cordova plugin.

0 Kudos
Reply