Google Code provides a barcode like this:
When you download software. What is its purpose (I assume it is related to the SHA1 checksum, but if so, how is it used)?
Edit: Now that I know its name, I found this article. Thanks!
This is a QR code, frequently used for entering URLs into mobile phones. It can be helpful if someone posts software that could be installed, say, on an Android phone; instead of manually entering the URL on the phone keyboard, you can just use an app like Barcode Scanner from the open source ZXing project to easily scan it in.
If you're not trying to download something directly onto your phone, it's probably not all that useful.
It's a QR code and encodes a small amount of data - typically a URL. You can scan them for example using a phone and then visit the URL.
[Update: it's a URL for downloading msysGit.]
It's a 2-Dimensional Barcode. There's software out there that can scan it.
Related
I am working on a social app like Instagram, Snap Chat, and Facebook. I need to generate a QR code of user profiles. I have hidden user ids from the database. I have a scanner in my app to scan the QR code. The functionality is working fine.
But when my generated QR codes are read by other scanner apps, like the iOS default scanner, it reads the user id (string, text) from the QR code.
I have used Swift default code for QR code generation.
QR code read only by my app.
Like Snap Chat, Messenger, etc.
Have a look at this article
How is Snapchat QR code so different than others?
Snapchat and other apps have designed their own methods to create and read a QR code. Snapchat uses its own processing techniques to detect a series of dots to scan the code. It uses the snapchat logo for reference in the image to know where exactly to start the scanning. I am pretty sure Facebook and other apps are doing something similar.
You can maybe look at something that Instagram is doing. They use Text Detection to read a users name tag. You can look into this article for the same.
Text Detection Article
As far as i know there is no direct way that you can achieve this. You will have to essentially re-invent the wheel and come up with your own way to generate and read a code that is specific to your app.
Another approach would be to use an encryption algorithm to encrypt and decrypt your message and then using the QR code generator to generate a QR code of the encrypted message.
Is it possibile to open a predefined link in Safari when the user scans a pass generated by my app with PassKit? I couldn't find this in the official documentation. Any hints?
There doesn't seem to be a renference to this in here:
https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/LowerLevel.html
If a pass contains a bar code of some kind, including QR codes, they can contain whatever information you want. What happens when someone scans the code depends on what the information is and on what app they're using when they scan the code.
Wallet.app can scan bar codes, but the only thing it knows how to do when it scans a code is to try to add a new card to itself. It won't redirect to Safari, it will just try to find a pass at the URL and download one if possible.
For other apps, it depends on what scanning app the person uses. For a bar code that contains a URL, any app that I've tried would offer to open the link in Safari. But what actually happens depends on the app the person is using.
So this isn't necessarily a code question, its more of a 'can it be done' question. I was wondering if there was a way to make an IOS app that could scan items in a store and read their barcode. It would then read what the item is and put it into a list. I've done some research on barcodes but I'm not sure if I can get that kind of information from them.
Scanning Barcodes of items shouldn't be a problem. There are several good libraries you can use for iOS and Android e.g.:
ZBar (http://zbar.sourceforge.net/iphone/sdkdoc/)
MTBBarcodeScanner https://github.com/mikebuss/MTBBarcodeScanner
Otherwise the Question for Barcode Scanners was already asked here: https://stackoverflow.com/questions/5659380/free-barcode-scanner-sdk-for-ios-iphone
//edit after some clarification:
If your client has a database that shouldn't be a problem. The scenario is: All products have a barcode printed on them. The barcode represents an ID that your device will get when you scan it. After you scan it you can look up the product in their database with the help of the ID and show the product within the app. The only thing you need is being able to connect to their database (which shouldn't be a problem since they already use scanners).
Client wants a button on the mobile web app that launches a QR code scan (with camera on iPad) then returns to the mobile web app with the QR code info. Wondering how best to achieve this and/or if it's even possible. Thanks!
Not really possible, sorry.
The closest you can get is some apps have a URL scheme (redlaser://, for example) that you could provide a link to. There's no way of detecting that they've got the app installed, though.
Yes, see the zxing: URL format here.
The best thing would be to use a bluetooth barcode scanner. Something like Socket scan , CX2864-1336 would work for well for this. I've seen it used with an ipad to manage inventory.
Seems like that would require two separate native applications. Both using URL schemes to jump to the other and pass information. If you have a web app and check for a QR code scanner's URL scheme it's totally possible for your web app to launch a QR code scan but passing data back would require a native app. Oh, and I'm not sure if there are any QR code apps with a scheme.
I'm making a quest (for iPads) and would like to use QR codes that users have to scan and then do certain tasks: The user scans the QR code, which links to a text that asks them to take a picture of a certain object and a button that opens up the camera, once the picture is taken it is saved. I was thinking of a blog, where images can get uploaded once they are taken, but they could as well be stored on the iPad. I haven't found a solution using blogs, as taking an image can't be prompted, any idea how it could be done?
Thanks
Not really possible with a web app. You could have the link in your QR code point to your native app’s custom URL scheme, as in myapp://whatever, and then both get and upload the photo through that app, but what you’re trying to do isn’t possible through Safari.