cancel
Showing results for 
Search instead for 
Did you mean: 

Scaning Barcode using SUP Workflow

Former Member
0 Kudos

Hi,

Can anybody can share with me  the steps to scan the barcode in SUP Enviornment of SAP 2.2.0

Thanks

Surekha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi surekha,

let us know is it for which platform? windows,Android, or BB.

below link will be useful to you.

http://scn.sap.com/thread/3278396

Regards,

Prasad SIstla.

Former Member
0 Kudos

We are Using android.

Former Member
0 Kudos

Been looking into this myself, just haven't had the chance to put keyboard hours to it.  But because the barcode API itself be it PhoneGap or Scandit, for example, it seems it will require setting things up in a native platform to get the barcode scanner module working.  It could be different now.  For PhoneGap, there are JavaScript libraries already available but I've only gotten the barcode scanner working through PhoneGap Build; which it basically compiled everything for me on their end I just have to reference the barcode.js in my source file. 

However, one of the bloggers in SCN did put steps on how to get a native app setup like in XCode or Eclipse and integrate the JavaScript generated from the native platform and into the Hybrid Workflow project.  https://cw.sdn.sap.com/cw/docs/DOC-149849, this link shows how to do just that.  Note that I have not followed this myself but from what I've tried in the past and what I've read from this sample, it looks to be a viable solution.

I know you were probably hoping for a step by step instructions but I hope this helps in some way.  Thanks.

david_brandow
Contributor
0 Kudos

Native application or hybrid application?  If native, which platform?

Former Member
0 Kudos

Hi David,

We are using hybrid Application and Sybase Unwired WorkSpace 2.2 platform .

Former Member
0 Kudos

Hello David,

In Android perspective, For native apps we have a "ZXING" library to scan bar codes.https://code.google.com/p/zxing/. You can verify this.

We can invoke the native code from Hybrid app as well using the javascript interface. Please verify some of the examples from web.

Thanks

Sathish

Former Member
0 Kudos

Hi David,

While Opening Camera and trying to capture image we are getting below error .

navigator.camera.getPicture( onGetPictFail,onGetPictSuccess, {quality: 25, targetWidth: 100, targetHeight: 150, destinationType: navigator.camera.DestinationType.Data_URI});

kindly reply the solution for the same