• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps multi layer QR codes??

OK. So I am sending text to my app through a QR code via calling barcode scanner with an intent from my app.

Let s say I generate 2 QR codes. #1 passes "Frank" #2 passes "Upfront".

This is no problem, but what happens if someone scans the QR code with the barcode scanner on it's own? They will be presented with the text "Frank". Useless.

Can I have it link to the android market if they do not scan from my app? And if they do, it passes the string?

The only other option that I see is to have it present a message: "Go download my app, Frank" and remove the "Go download my app" from the string if it is passed to my application.

make sense?

any idears?


Also, if someone scans the code from, god forbid, an iphone, could it send them to a web version of the app?
 
I think you'll need to do some fancy redirecting here.

I'd probably start with something like this

1) QR Code contains the Web URL + String

2) Person scans it, goes to web app -> if iphone, web app handles from here on

3) if Android, your website attempts to launch a link to your app

See here: Launch custom android application from android browser - Stack Overflow

4) You could have a custom ID passed from the website to the app. Then, the app will tell the server it is successful. If the app is not installed, you have the server launch the Android Market URL to your app -- the Android Market website *should* handle passing the correct info to the phone (good idea to test this on various devices/skins)



hth
 
Back
Top Bottom