Is there a way to embed logic in a QR code? - android

I have a requirement where I need to generate a QR code which, when scanned, displays the following behaviour.
When scanned for the first time, if my ios/android app is not installed then it takes the user to the appstore to prompt them to install the app.
When scanned again, if the app is already installed then it should open the app to a particular screen in the app.
Is it possible to create a QR code (or is it the app?) that behaves like this?

This behaviour is not be implemented in QR code. This will be implemented in your app.
I talk about Android. Same will be for iOS.
QR code will give you applicationId. (like com.stackexchange.marvin)
Get list of installed apps. See this question for getting installed apps list.
If user has installed this package name already, then open the app. See this question.
If not installed then open play store page.
Related question:
https://stackoverflow.com/a/8778268/6891563

Related

How to add specific system app while provisionned device using QR

I tried to provisioned my android device using QR code. The QR code contains all the information concerning my DPC so that it becomes device owner. Everything is working except one thing. I would like to have my own system apps after provisioned. I filled in this file with all the applications I want: frameworks\base\core\res\res\values\vendor_required_apps_managed_device.xml
However, whatever I am filling in this file, I am getting only some Google system app. How is it working?

Using Goggles or Zxing Barcode scanner with a PhoneGap application

I am trying to set up my current app (it's a HTML5 application compiled with phonegap build) where when I press a button, it pops up an option to select which bar code scanner to use(Or prompt to download the bar code scanner). When I select and scan it, I want to retrieve the information.
For example:
Retrieving via Zxing scanner would give me a set of numbers.
Retrieving via Goggles will give me more information like the number and product details.
I have seen some guides which are for native Android where they use Zxing but not Goggles. Seen no guides for using Goggles in an application. Closest I saw is a reverse engineered attempt dated few years back and not for HTML5 plat.
All I need to do is press a button from my app, go out into one of the scanner apps and retrieve the information back to my app to display.
Is there anyway I can do this? Is there a set of APIs available to access Zxing and Goggles via a HTML5/PhoneGap application?
It is definitely possible. Seen it on few applications.
This one for example: An app on Google Play
Please assist.
Screenshot additions for reference.
Screenshot 1
Screenshot 2

Insert personalized info in iOS apps

We are creating a cordova app for ios and android and we have everything ready, except one detail. The app will be downloaded from a qr code, and we need to insert in every app a different phone number, to relate the app with the place where it has been downloaded.
Is there a possibility to insert some code in the qr to pass it to the phone through the qr at the same time that we redirect to the Apple Store or iTunes?
Is there any other way maybe to achieve this goal?

Android, iOs & WP8: read QR code -> open app or go to the store

I want to develop an app (Android, iOs and Windows Phone) that reads information from a QR code. But I want to know one thing, before developing it...
is it possible to create a QR Code that does something like the following?
if I read it with another app (anyone) and there is my app installed -> it opens my app with the data read from the code.
if I read it with another app (anyone) and there is NOT my app installed -> it opens the store (app store, play store, ecc...) to download my app.
Sorry if it's not so clear... I'm not english native.
Yes, this is possible on all three of the platforms you mention by defining and using a custom uri schema.
In each case, if the app is not installed the appropriate store will be opened and a search will be done for apps that do support the schema.

QR codes linked to android

I am trying to create an android application that is linked to a QR code. I need the user to scan a QR code and be taken to the application which they can then use. I have looked around on the internet where there are many different generators but they are for website,sms,text. Is there a way to link it to an application?
Thanks
You can link to the market page of an app with a link like this:
market://details?id=com.example.admob.lunarlander
Turn that link into a QR code like you would for any other URL. When they scan it, this will give the user the option to Install the app if they don't have it, or Launch the app if they do.
ref: http://support.google.com/admob/bin/answer.py?hl=en&answer=1620109
You can make the link to your app's page on the Android Market website. Basically, just go to market.android.com, find your app and use your app's page's url for the QR code.

Categories

Resources