3 Replies - 10505 Views - Last Post: 11 January 2014 - 11:32 AM

#1 sjrp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-December 12

Barcode scanner for ios and android

Posted 31 December 2012 - 07:51 AM

My requirement is to develop a barcode scanner for both android and ios mobile OS.
When I googled, I found corona SDK multiplatform, but I am not sure whether I can develop barcode scanner because I could not find an example for barcode scanner. Below are my doubts

1. Is corona SDK is good to make multiplatform application?
2. Is it possible develop barcode scanner sc they are mainly concentrating on gaming application?
3. If possible, whether I should use any third party control to access the camera functionality or to access any device functionality?
4. If not, suggest me a good mobile development SDK

Is This A Good Question/Topic? 0
  • +

Replies To: Barcode scanner for ios and android

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4333
  • View blog
  • Posts: 12,128
  • Joined: 18-April 07

Re: Barcode scanner for ios and android

Posted 02 January 2013 - 03:10 PM

Frameworks are designed to make tedious tasks much simpler to perform, but that doesn't mean you can branch out to access native services and such. So Corona might be a good SDK to work with to make such an application. It is multiplatform and does have a way to access the camera...

http://developer.cor...index/mediashow

Now another option to use, which is more HTML/javascript/web based, is phonegap which is a free open source framework and it too works on multiple platforms and can access the camera.

So you could try phonegap and if that doesn't work for you, then go to corona.

Whatever you find more comfortable. :)
Was This Post Helpful? 1
  • +
  • -

#3 drifterdude  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-December 13

Re: Barcode scanner for ios and android

Posted 19 December 2013 - 12:41 PM

I don't know much about corona sdk but we used a different sdk for our WinRT app and it did the job for us.
If the same code can be use for both platforms this is a good thing but you should check their support and see if they can provide some sort of a sample code to help you get started.
The library we used has an article about it here:
http://www.codeproje...th-LEADTOOLS-18

Regarding accessing the camera, I'm not sure about iOS but to my knowledge in Android, you should call the camera activity to start it up ( I'm sure that there is a way to bypass that).

Using HTML5 as Martyr2 suggested might be a good alternative but I'm not sure if there's an easy way to decode the barcodes if you go that way.
_________________
Daniel
Was This Post Helpful? 0
  • +
  • -

#4 blankwavercade  Icon User is offline

  • D.I.C Head

Reputation: 30
  • View blog
  • Posts: 115
  • Joined: 13-December 11

Re: Barcode scanner for ios and android

Posted 11 January 2014 - 11:32 AM

While using html5 you would need to look into the media capture api. https://developer.mo...or.getUserMedia and here is the caniuse chart for supported browsers. http://caniuse.com/#...media%20capture to process the images you would need to look into an OCR library for your backend system. Nodejs has a few and PHP has a few as well. Im sure ruby and python have them as well just i don't know for sure since ive only looked into the Nodejs and PHP libraries.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1