on 11-26-2012 7:23 AM
Hi Experts,
I need to scan the barcode using mobile camera... so i am writting the following code in custom.js as mentioned in the link http://code.google.com/p/jquery-barcodelistener/wiki/setup
but it seems no scanning... will the above jquery files as given in the link have the function to open the camera or we have to write the code below navigator.camera.getpicture......do we need to design a seperate screen to capture the value while scanning the barcode and putting in to it......... Kindly help me how the code works and what can added or how it is to be modified to resolve the problem.....
Thanks ,
Gowtham
Did you get some sample code working for Android reading Barcodes ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ya i am doing as per in the link,
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3.
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3here the phonegap-plugins for android barcode scanner is mentioned in the link
https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner...... Do you have any idea to be shared on this. guide me pls
ya i am doing as per in the link,
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3.
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3here the phonegap-plugins for android barcode scanner is mentioned in the link
https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner...... Do you have any idea to be shared on this. guide me pls
Dear HWC Experts,
I am unable to suceed with camera, barcoding scanner with HWC. I am using SUP 2.2.
I tried various options, but didn't work. I followed the approach as per this blog :http://scn.sap.com/thread/3359393
Do I need to enable phonegap APIs before using them ? The reason that part of code has not been mentioned in the blog attached.
Kindly help us here. We have a demo to the customer and need to show how easy it is to integrate device peripherals using HWC.
- Suraj
You may go to codeproject.com to check whether there is code you required. And here I pasted a link for you,which is on barcode-scanner and camera hope it will offer some insight for you:
Try using PhoneGap extensions.
You need to implement phone gap barcodescanner plugin in SUP environment then you can scan the barcodes. see th
The following link contains a sample scanner https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/BarcodeScanner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally HTML/JS can't interigate the hardware features of the phone. e.g. The Camera. Thats why you use a Hybrid environment like Sybase SUP HWC (Hybrid Web container) or you use PhoneGap. Now HWC has phonegap calls built into it, so you can hook in your camera using a phonegap call from your HWC.
I gave you the ios code to get you started, what other platforms do you need Camera code for ?
Thanks for your information David.
I want for android platform since i am going to start with android only...... i am using phonegap plugin 1.4.1 version but
https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner
the following site contains phonegap-plugins 1.8.1 and 2.0.0 only..... i dont know whether barcode scanner for phonegap-plugins 1.4.1 will support or not, as discussed in this link
https://sites.google.com/site/mobiledevelopersolutions/home/start/twominutetutorials/tmt3.......
Please clarify the following questions since its a big confusion to me:
1) Whether the camera will be automatically opened by writing this code or we have to make it enable through navigator.camera.getpicture?
2) When the camera is focusing a barcode the output of the barcode will be shown automatically or we have to design the screen and pass the values in to it to get the output of the barcode?
Kindly help me on this issue to solve it as soon as possible ......... Thanks
Message was edited by: gowtham raja
Have a look at this sample: https://cw.sdn.sap.com/cw/docs/DOC-149428
Hi David,
I am doing phone gap as suggested by the link
https://sites.google.com/site/mobiledevelopersolutions/home/start/twominutetutorials/tmt0
but here i cant see the jslint4java as said in step.5..... Please help me
This I believe: http://code.google.com/p/jslint4java/
Hi David,
I am doing barcode scanning using mobile camera for hybrid application..... For this i have downloades a sample which you have uploaded in the following link
https://cw.sdn.sap.com/cw/docs/DOC-149428 ........
by seeing this sample i have also developed a project for my requirement in the following link
https://cw.sdn.sap.com/cw/docs/DOC-151629 .................
but i am not getting the output.... can you please go through the file and guide what the error is and how to correct it ..... Thanks in advance
Thanks,
Gowtham
Hi David Clavey,
Can you please guide me how to do the step by step process for my requirement "Barcode scanning through mobile camera for hybrid applications"....... I am strucking a lot to do..... Please send me the document if available........... Thanks in advance Reading BARCODE using camera for hybrid
I would also have a look at this code:
Implement it using PhoneGap first and then when you have got it working move the code to HWC.
Hi David,
As mentioned in Two minute tutorials , i got that blue color screen but with popup's which can not be removed. Can you try this and please tell me where i am lagging and what is the problem is
Thanks,
Gowtham
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.