Answer the question
In order to leave comments, you need to log in
Is it possible to inject a jar into a phonegap/cordova app?
Hello!
I'm just a web developer, but the task was to quickly create a simple mobile application for Android with a webview and a QR code scanner. Managed using Phonegap Build by including the necessary plugin in config.xml. Everything is working.
Now the task is to print QR codes on bluetooth mini-printer. The plugin is not ready. The printer has an SDK for android , and the documentation literally says this:
- download the SDK jar package in Android studio and compile the file 'libs/CPCL_V1.01.01PRO.jar', after which you will have access to static methods like PrintQR(), etc. P.
Can you please tell me, unfortunate web developer, what is the easiest way to call these methods from a phonegap application? Is it possible to specify this jar file in config.xml in some magical way and reach the printer?
THANK YOU!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question