logo

Barcode scanner app in Apache Cordova: Doc - Desklib

   

Added on  2020-03-23

6 Pages1165 Words247 Views
Running head: BARCODE SCANNER APP IN APACHE CORDOVA, MONGODBBarcode scanner app in Apache Cordova, MongoDBName of the StudentName of the UniversityAuthors Note

BARCODE SCANNER APP IN APACHE CORDOVA, MONGODB1Introduction In order to develop apps for the smart phones the developers have to code the sameapplications multiple times in order to make the app compatible for various operatingplatforms such as android, iOS, Blackberry etc. For this assignment we have developed abarcode scanner that is compatible with all the above mentioned platforms used forsmartphones and tablets.Description of the App For this applications we have decided that the app is supported by iOS8, iOS9, andAndroid – 5.0 Lollipop version. In addition to that, in developing the app we have used somethird-party plugins as well as Cordova Supported plugins. The app is developed using andbrowser-friendly HTML5, CSS3 and JavaScript for both client and server end. The used APIs for the camera, capture, notification and a third party plugin from github. The API is available at, https://github.com/phonegap/phonegap-plugin-barcodescanner.The applications works in the following way,

BARCODE SCANNER APP IN APACHE CORDOVA, MONGODB2 When the user presses the button for the capturing a barcode, this will lead to thecall of the barcode scanner plugin through cordova.plugins.barcodeScanner.scan API. Whenthe API is called through the scan section, the device will initialize a default camera capturetask. The capture task will appear on screen and will wait for a certain time so that the usercan place a barcode that is to be scanned through the camera. If the app successfully detectsany barcode within the provided frame of the device camera capture region, then the resultfor the input to the scan functions will become true. After the barcode value is interpreted bythe application the value of it and relevant information will be presented for the user througha popup on the screen. The standard structure for the plugins used in the project is as described below,var captureSuccess = function(mediaFiles) { // Do something with the captured video/image, audio files }; "Scanner" app in HTML, CSS3 and JavascriptBrowser OverviewPlugin interfaces in java script.Android pluginiOS plug inWindows phone plugin

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Barcode Scanner App in Apache Cordova, MongoDB
|6
|1218
|121

Ionic App Development for Internetworking Design
|12
|1181
|260

critical evaluation - Assignment
|7
|1532
|245

Implementation Report on Fingerprint Recognition System for Class Attendance
|7
|1575
|422