Reputation: 1413
In my app I need to implement the feature such as that available in Blackberry Messenger, i.e. user can add another user by scanning their QR code.
I found libraries out there that can help generate QR codes and also threads here to help with that. What I am unable to conceptualize is this: When a friend comes to scan my QR code, how can the application recognize that this QR code scanned is related to that person in the service database? I read that QR codes hold information up to 1800 characters or so. My question is, when I scan the QR code, will i get the stream of information from the scanner or does it work in some other way?
Thanks for helping out in advance.
Upvotes: 0
Views: 237
Reputation: 118681
You can use CIDetector which will give you CIQRCodeFeature objects, containing the message as a string.
Upvotes: 2