Discussion Forums  >  Uncategorized

Replies: 7    Views: 608

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
01/27/12 08:06 PM (12 years ago)

adding qr code reader to app (iOS)

I'm trying to incorporate this QR code reader into my app: http://sourceforge.net/projects/zbar/ I've gone through the first 3 steps in adding it to my Xcode project, but step 4 stumps me: Import the SDK header from your prefix header to make the barcode reader APIs available: #import ZBarSDK.h Has anyone else used this? Or any incorporated another QR code reader into an app? Can you walk me through it? thanks
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
like
01/27/12 08:15 PM (12 years ago)
I'd also be very interested in learning this
 
cheapwebmonkey
Aspiring developer
Profile
Posts: 38
Reg: Jan 12, 2012
Earth, sometime...
380
like
01/27/12 08:18 PM (12 years ago)
I would like to learn this as well.
 
hacerapps
buzztouch Evangelist
Profile
Posts: 542
Reg: Jan 30, 2011
usa
11,170
like
01/28/12 03:03 AM (12 years ago)
looks cool ill give it a try tomorrow thanks for the share
 
rgtichy
Lost but trying
Profile
Posts: 104
Reg: Oct 14, 2011
Barrington
1,040
like
01/28/12 07:02 AM (12 years ago)
It sounds like you're asking where you should put the .h file? Is that correct? It would seem to me that you need to make the QR code APIs available either globally in your app or in the module where you'll be accepting input from the QR code as it gets read.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
01/28/12 08:40 AM (12 years ago)
the instructions that come with the file tell you do things that I can't find in Xcode. I've copied their SDK to Xcode, but need to hook it up with my project somehow, then make it available from an icon within my project. Before I found the sourceforge.net one, I bought one from code canyon that works as a standalone very well, but also includes instructions on how to incorporate it within your own app – again, the explanation was confusing to me: http://codecanyon.net/item/qr-code-scanner-app-template-scanner-reader-/237050
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
01/28/12 10:47 AM (12 years ago)
I have been working on this as well. (zbar) It sounds like we are at about the same spot. I have been trying to use it with a tabbed layout. (thinking it may be easier to save results this way) The stand alone sample code I can scan, but it wont do anything with it. I have also been trying to build it completely out of buzztouch to see how I can combine code from several stand alone projects, but with my limited coding knowledge I am hitting a wall. Have not touched it in a few weeks due to other projects for work, but I will take another look at it as well. Jim
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
02/06/12 03:59 PM (12 years ago)
anyone had progress with this? I'd love to use the Code Canyon one, but the instructions just confuse the hell out of me! Would anyone be able to help me with incorporating this into my app? I have the code in my Xcode, but need to know how to connect it to the app and then make an icon at the bottom of the app open it up.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.