如何为 Android Market 和 App Store 制作二维码 [英] How to make QR code for BOTH Android Market and App Store

查看:27
本文介绍了如何为 Android Market 和 App Store 制作二维码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个适用于 Android 和 iPhone 的应用程序.所以我有两个 URL-s(Market 和 AppStore),但我不想在主页上添加两个不同的二维码.有没有办法(我期望的在线服务)为两个市场提供单一 URL,它将检测用户设备并立即转发到合适的应用程序版本?以编程方式看起来真的很简单,但也许有人已经解决了这个问题.

I have an app which has versions for both Android and iPhone. So I have two URL-s for them (Market and AppStore), but I do not want to add two different QR codes to the homepage. Is there a way (online service I'd expect) to have single URL for both markets, which will detect user device and will forward immediately to suitable application version? Programmatically looks really trivial, but perhaps someone has already solved the issue.

更新:看来我必须自己创建服务.也可以随意尝试使用它:http://qrappdownload.appspot.com/.你可以给出两个 URL-s,它会为 URL 生成 QR 核心,这对于两个最大的平台都是通用的.通用 URL 由基于移动用户代理的相同服务解析(仅检查它是否包含 Apple 或 Android 字符串).缺点是二维码必须非常大,因为 URL 必须包含两个应用商店 URL,因此很长.也许你可以用一些网址缩短服务来缩短网址,还没试过.

UPDATE: It seems I had to create the service myself. Feel free to try and use it also: http://qrappdownload.appspot.com/ . You can give two URL-s and it generates QR core for URL which is universal for the two biggest platforms. The universal URL is resolved by same service, based on mobile user agent (just whether it consists Apple or Android string is checked). Downside is that QR code has to be quite large, as the URL has to include both appstore URLs and is therefore pretty long. Maybe you can shorten the URL with some URL shortening service, have not tried it.

推荐答案

二维码可以包含任何文本.它们用作 Web 链接的惯例是包含一个 URL.大多数二维码阅读器应用程序随后将加载二维码中嵌入的 URL 所引用的网页.

QR codes can contain any text. The convention for their use as a link to the Web is to contain one URL. Most QR reader apps will then load the webpage referenced by the URL embedded in the QR code.

当被任何二维码阅读器读取时,无法将信息嵌入直接链接到两个不同 URL 的二维码中.自定义二维码阅读器可以解析带有两个 URL 的二维码并决定要遵循哪个 URL,但您必须想办法将自定义二维码阅读器提供给客户.

There is no way to embed information in a QR code that directly links to two different URLs when read by any QR code reader. A custom QR code reader could parse a QR code with two URLs and decide which URL to follow, but you'll have to figure out a way to get your custom QR reader to your customers.

您正在寻找的功能可以位于二维码中的 URL 中.嵌入的 URL 可以链接到检查用户代理并适当重定向的网页.如果检测到 iOS 用户代理上的 Safari,则重定向到 Apple 的 App Store.Android 用户代理将被重定向到适当的应用商店.我会将所有其他用户代理设置为转到包含两个商店链接的产品页面.

The functionality you're looking for can reside at the URL in the QR code. The embedded URL could link to a webpage that checks user agents and redirects appropriately. If the Safari on iOS user agent is detected, redirect to Apple's App Store. An Android user agent would be redirected to an appropriate app store. I would set all other user agents to go to a product page with links to both stores.

如果我这样做,我会调查将所有用户发送到产品页面.有机会参与产品的进一步营销,与潜在客户分享更多信息可能会带来更好的销售.我会设置一些 A-B 测试,看看哪个更好.

If I was doing this, I would investigate sending all users to a product page. The opportunity to engage in further marketing of the product, sharing more information with the potential customer may result in better sales. I'd set up some A-B testing to see which is better.

这篇关于如何为 Android Market 和 App Store 制作二维码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆