I want to create an AugmentedReality phonegap plugin on android. I have the AugmentedReality source code on android. I would like to launch this android application using the push button on phonegap application.
I want to create an AugmentedReality phonegap plugin on android. I have the AugmentedReality
Share
Right so you need to write a plugin in order to start the AR code. Basically you’ll write a JS file to call your Java code. In your Java code you will extend the Plugin class from the PhoneGap API and to start your AR code you will fire an intent. Examples of this include:
https://github.com/phonegap/phonegap-plugins/blob/master/Android/BarcodeScanner/2.0.0/src/com/phonegap/plugins/barcodescanner/BarcodeScanner.java
https://github.com/phonegap/phonegap-plugins/blob/master/Android/ContactView/ContactView.java
There is already one AR plugin for Android:
https://github.com/phonegap/phonegap-plugins/tree/master/Android/AugmentedReality-Wikitude