WP Android Shortcode

Use the [android] shortcode to convert Android Market links into a QR code for non-Android devices and a direct link for Android devices.

Author:Robot Media (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:3.0.5
Plugin version:1.0.1
Added to WordPress repository:31-12-2010
Last updated:06-01-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.robotmedia.net/2010/12/wp-android-...
Total downloads:1 793
Active installs:30+
plugin download
Click to start download

Linking to Android Market apps is somewhat problematic. Because Android Market links only work from Android devices, the most common way to link to an Android app is to offer a QR code of the app link that can be scanned with an app like Barcode Scanner.

However, when browsing from an Android device, a direct link to the Android Market is preferred. What works well for Android devices does not suit the rest and viceversa.

WP Android Shortcode solves this problem by using the [android] shortcode to convert Android Market links to the best option based on the platform. Android devices get a direct link to the Android Market, while the rest gets the corresponding QR code. In both cases a nifty Android Market badge is used to clearly indicate that this is a link to an Android app.

Examples:

[android]market://search?q=pname:com.example[/android]

[android href="market://search?q=pname:com.example"]

[android href="market://search?q=pname:com.example" title="Your app name"]