Open KIRAN-H opened 9 years ago
I've install cordova by cordova create myApp cd example cordova platform add android
cordova create myApp
cd example
cordova platform add android
and get the plugin by cordova plugin add https://github.com/wildabeast/BarcodeScanner.git After that I've build the project cordova build android
cordova plugin add https://github.com/wildabeast/BarcodeScanner.git
cordova build android
and import to eclipse, here this my index.html code how can I using the plugin ?
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="msapplication-tap-highlight" content="no" /> <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 --> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> <link rel="stylesheet" type="text/css" href="css/index.css" /> <title>Hello World</title> </head> <body> <div class="app"> <h1>Apache Cordova</h1> <div id="deviceready" class="blink"> <p class="event listening">Connecting to Device</p> <p class="event received">Device is Ready</p> </div> </div> <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" src="js/index.js"></script> </body> </html>` and here this my file of directory project http://i.stack.imgur.com/lBvJE.jpg Please help step by step, I'm newbie. Thank a lot.
Try https://github.com/manateeworks/phonegap-mwbarcodescanner
I've install cordova by
cordova create myApp
cd example
cordova platform add android
and get the plugin by
cordova plugin add https://github.com/wildabeast/BarcodeScanner.git
After that I've build the projectcordova build android
and import to eclipse, here this my index.html code how can I using the plugin ?