Warning: Illegal string offset 'href' in /home/robotmedia/robotmedia.net/wp/wp-content/plugins/wp-android-shortcode/wp-android-shortcode.php on line 30
Warning: Illegal string offset 'title' in /home/robotmedia/robotmedia.net/wp/wp-content/plugins/wp-android-shortcode/wp-android-shortcode.php on line 34
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.
To solve this problem in our website we have created a very simple WordPress plugin called WP Android Shortcode. The plugin uses 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 get the corresponding QR code. In both cases our nifty Android Market badge is used to clearly indicate that this is a link to an Android app.
For example, the following shortcode…
…is rendered as:
You can also specify the app name like this:
[android href=”market://search?q=pname:net.robotmedia.findtherobots” title=”Find the Robots!”]
…which is rendered as:
We encourage you to download the WP Android Shortcode plugin from WordPress.org and use it on your website.
Is this not working on a text widget in a side bar?
Hi pfff. As far as I know shortcodes are not processed by default in widgets. This post might help.
Pingback: 7 solutions QR codes gratuites pour WordPress | Blog Expert
Just the plugin I needed for the site, it works great. The readers are very content with it. Thank You for making this plugin!
I have installed the plugin and put the link on my website on a page called “Apps” but the link opens up in the same window. How can I make it popup like your example does in a dialogue?
Installed the plugin. works great. Thanks for sharing.
WP Android Shortcode: a WordPress plugin to add links to the Android Market | Robot Media http://www.vladlenaivfun.blogspot.соm