logo

Barcode Scanner App in Apache Cordova, MongoDB

6 Pages1218 Words121 Views
   

Added on  2023-06-15

About This Document

Develop a barcode scanner app in Apache Cordova, MongoDB that is compatible with all the major operating systems. The app is targeted towards students and people who need to scan barcodes for retrieving data. The app is developed using HTML5, CSS3, and JavaScript for both client and server end. The app uses APIs for the camera, capture, notification, and a third-party plugin from GitHub. The app is intended to be a crowd-funded project with in-app purchase options and advertisements to generate revenue.

Barcode Scanner App in Apache Cordova, MongoDB

   Added on 2023-06-15

ShareRelated Documents
Running head: BARCODE SCANNER APP IN APACHE CORDOVA, MONGODB
Barcode scanner app in Apache Cordova, MongoDB
Name of the Student
Name of the University
Authors Note
Barcode Scanner App in Apache Cordova, MongoDB_1
1BARCODE SCANNER APP IN APACHE CORDOVA, MONGODB
Introduction
In order to develop apps for the smart phones the developers have to code the same
applications multiple times in order to make the app compatible for various operating
platforms such as android, iOS, Blackberry etc. For this assignment we have developed a
barcode scanner that is compatible with all the above mentioned platforms used for
smartphones and tablets.
Description of the App
For this applications we have decided that the app is supported by iOS8, iOS9, and
Android – 5.0 Lollipop version. In addition to that, in developing the app we have used some
third-party plugins as well as Cordova Supported plugins. The app is developed using and
browser-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 git
hub. 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, MongoDB_2
2BARCODE SCANNER APP IN APACHE CORDOVA, MONGODB
When the user presses the button for the capturing a barcode, this will lead to the
call of the barcode scanner plugin through cordova.plugins.barcodeScanner.scan API. When
the API is called through the scan section, the device will initialize a default camera capture
task. The capture task will appear on screen and will wait for a certain time so that the user
can place a barcode that is to be scanned through the camera. If the app successfully detects
any barcode within the provided frame of the device camera capture region, then the result
for the input to the scan functions will become true. After the barcode value is interpreted by
the application the value of it and relevant information will be presented for the user through
a 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
Javascript
Browser
Overview
Plugin
interfaces in
java script.
Android
plugin iOS plug in Windows
phone plugin
Barcode Scanner App in Apache Cordova, MongoDB_3

End of preview

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

Related Documents
Barcode scanner app in Apache Cordova: Doc - Desklib
|6
|1165
|247

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