on 06-03-2015 2:23 PM
Example to implement barcode scanner functionality in sap.m
Hi Ramesh,
You could have a look at this blog :http://scn.sap.com/docs/DOC-56113
Please provide information on what you are trying to do and what are the steps you followed.
Regards,Midhun
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
Actually my requirement is like i developed sap.m application, in that application i need to implement the barcode scanning functionality using android mobile, i tried your example index.html,index2.html both are getting error message
TypeError: cordova is undefined
| |
i added the cordova.js also but till the error is coming.
Hi Ramesh,
You need to add the plugins to the project (cordova -d plugin add com.sap.mp.cordova.plugins.barcodescanner ). Follow all the steps mentioned in that blog. To execute cordova commands you need to install cordova in your system.
You will find a lot of information in web on how to setup cordova and develop a cordova app. Once you add the barcode scanner plugin you should able to access the camera of the phone to scan the barcode in your SAPUI5 app.
Regards,Midhun
SAP Technology RIG
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.