How to use the "Scan QR code" quick tile to my app's advantage? - qr-code

In Android 13, we have a new quick tile "Scan QR code". When we scan a QR with it, it takes us to the relevant app or if there are multiple apps that supports this QR data type it lets us choose and navigates to that app.
For example, if we scan an UPI QR code, it shows us all the apps that support scanning UPI code like GPay, PayTM, PhonePe, etc.
Likewise I have a set of QR formats which is used only by my app. How do I tell this quick tile to pick up my app when scanning this QR?

Related

How to generate a QR code from WeChat user id?

I want to be able to input a WeChat user id and somehow be able to generate the corresponding WeChat QR code on the screen.. is this possible and if so how do you do it?
Unfortunately, you can't.
3 years ago, you can generate QR code from URL: http://open.weixin.qq.com/qr/code/?username=<wechat_id>. However, this API is unavailable now. It seems Tencent disabled this interface due to security consideration -- this API can be easily abused to send spam invitation.
If you speak Chinese, please check https://www.zhihu.com/question/21384291 for discussion on this topic in history.
If you would like to create your own QR code for your WeChat profile, you must first download the current QR code of your profile in WeChat.
Go to your profile, go to “My QR Code” and select the three dots in the top right corner, select “Save Image”.
The QR code is now stored in your photo album.
Screenshot: How to get WeChat QR Code for your profile
Before you can create your own QR code, you must decode the URL to your profile from the downloaded QR code. To do so use the ZXing decoder.
Upload your QR code there and you will receive the URL that is behind the QR Code. Now you can use this URL to create a QR code for your profile.
In the following post you see detailed description how to create QR Codes for your profile or for official WeChat acccounts:
https://blog.qrd.by/2018/06/05/create-designer-wechat-qr-codes-for-official-accounts/
As it was written above, you can't create QR code by means of user ID, but you can use your QR code to generate a web-page containing a link to your WeChat profile using https://msng.link.
This can help to show links to your messengers in social network sites. This should take just a minute, I've made a video instruction for you here: https://www.youtube.com/watch?v=Db8eNHSuSXM

Using a QR code instead of a barcode to read a number into a web form

I want to use generate a QR code for a docket number in a rails web app and print it on the docket. Later, a cashier will scan the QR code from the printed docket into a web form and submit it where my app will retrieve the docket record from a database using the submitted number. Is this feasible and how can I do this? The cashier may use any device from a tablet, phone or computer.
I know how to generate the required code but unsure of the feasibility of reading the code into an input form on a web page.
You need to capture image somehow.
http://miniqr.com/reader.php - This example use Flash & Webcam to make image and read qr code.
http://f.etf.unsa.ba/redmine/projects/nwt-html5-barcode-scanner - html5 solution (needs WebRTC)

QR Code Analytics API

Is there a good API or other possible solution to the following?
I am trying to track club membership and discrete "check in" events/activities using QR codes. First I generate a QR code with an embedded URL to a web page with member information (random/obscured URLs with shortened links) and print that QR code on a label and attach it to a membership card. I then scan the QR code with Red Laser or some other reader to access the shortened URL and the "hidden" member information.
My issue is that I have 100s (eventually thousands) of QR codes to track so I'm looking for a simple tool or API to manage all of these obscure links and see how often they have been accessed by Red Laser (or a browser if someone manages to discover any of these obscured links).
I tried Google Analytics but I wasn't able to get the level of "fine tune" control I'd like. What I really want is the ability to map this information (e.g., member contact info, obscure links, number of times clicked, etc.) to a format like chartbeat.com.
Grateful for any suggestions.

Is it possible to encode multiple data in a QR code?

I have a classifieds webapp for our student union and want to create printable versions of the different ads, that students can print and distribute on the campus. To get further information, people should be able to read a QR code from the printout with their smartphone.
The question is: Can I encode both the phone number to call for the ad and the URL of the website in the QR code at the same time, so that people can scan the code and then select if they want to call the person or open the website of the ad?
I was thinking about using a vcard, but that would add that otherwise useless information to the peoples contacts list. Is there something like CSV data that Android correctly reads to achieve this? (And preferably iPhones, too)
Of course you can.
VCard is fine, it would enable other QR readers to parse it correctly - so your QR would be up to standard.
You wouldn't have to implement full RFC though, just the basic TEL, and URL fields.

QR Codes conversion

I have a text to QR code converter. I want to use it to create QR codes like Website URL, YouTube Video, Google Maps Location, Telephone Number, Skype Call, SMS Message, Email Address, Email Message, Contact Details (VCARD), Event (VCALENDAR), Tlephone Number
Can you give me the codes to create it like I got to create Email-
MATMSG:
TO:xyz#abc.com;
SUB:I am sending this email using QR code;
BODY:I have stored all of your letters in QR codes.
[Add more here]
Thanks
[Your Name];;
You can check my QR code generator
Note that only some QR code readers will recognize those different types and it's not universal for various phones/devices. You are better off keeping it simple with text string/URL until all devices adhere to standard. Android seems to support the most types and the reference implementation is their Barcode Scanner which is also open sourced on google code (zxing).
http://code.google.com/p/zxing/
You can view their source for how they generate the different types... Then compare your output to theirs with this online generator:
http://zxing.appspot.com/generator

Resources