How to add Cordova project as a module or library to Native Android application

Viewed 219

I have a Native Android Application that is developed using Java. I'm creating a e-learning application. Hence, i wanted to add Moodle(Moodle is an Opensource learning tool) to it.

However, the 'Moodle' for mobile is not in Not a native app. Rather it is implemented using Cordova framework. Here is the URL of the Moodle cordova project https://github.com/moodlehq/moodlemobile2 on github.

My question is, is there a way to convert this Moodle code to an Android library(Module)/ AAR file and add that library to my Native Android application?

Please note that i have gone through multiple questions on Stackoverflow which tells how to use a AAR File in Cordova project. But my requirement is to convert the Cordova project to a Library or AAR file and then import it into my Native Android application. Is there a way to achieve this?

0 Answers
Related