Bookmarklet for QR Codes from Android market links

Since the beginning of this month Google has been allowing access to its android app market for non-Android devices via http://market.android.com. Unfortunately when accessing the app pages with a non-android device there’re no QR codes for the apps, so getting the app to the device is pretty cumbersome. I wrote a little bookmarklet to convert the http://market URL into a market:// one and generate a QR code image for that link.

javascript:(function(){var exp = /details?id=([w.]*)/; exp.exec(location.href); window.open('http://qrcode.kaywa.com/img.php?s=8&d=' + encodeURIComponent('market://details?id='+RegExp.$1), '_blank');})()

Just Drag&Drop this linked image:

AndroidScanner1

to your bookmarks bar and click on it when you’re on a android app page:

draganddropbookmarklet2[1]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s