Archive for May, 2010

View websites like a “desktop” machine from your Android phone

Friday, May 28th, 2010

Sometimes I get really annoyed when I try to visit a website using the built in Android browser only to be redirected to the “mobile” version of that website with no option to visit the full version site. A good example of this is the National rail website.

Some websites however handle this better by giving the option of using the full version of a site instead of the mobile version via a link at the bottom of the page. A good example is the mobile wikipedia site.

Most websites use the browser’s user-agent string to decided whether to show the full site or the mobile site. The built in Android browser doesn’t normally give the option to change the user-agent string but you can by doing the following:

  1. Start up the built in Android browser on your phone.
  2. Type about:debug into the url box and press “GO” button.
  3. Nothing will appeared to have happened, however if you press your menu key on your phone and go into settings then new options will be available.
  4. Find the UAString option (right at the end of the list) and change it to Desktop.
  5. You can now browse the internet like a “desktop” machine.

Note this change isn’t permanent so you will need to perform these steps again sometimes.

The Dolphin browser available from the Android market place has the option to change the user-agent string permanently but I’m not such a huge fan of Dolphin as it’s a bit sluggish.

I’ve included a few screenshots which can been seen below.

Mobile version of the National rail website

Typing about:debug

Typing about:debug into the URL box

Menu displayed by pressing the menu key in the built in Android browser

Android browser settings, UAString option is now available.

Android browser settings, UAString option is now available.

Choice of User-agent strings

Choice of User-agent strings


The full version of the National Rail site

Windows USB driver for Android development

Friday, May 28th, 2010

I only had my girfriend’s laptop to use today and I needed to use the ddms tool to take screenshots for the User agent blog post.

Unfortunately it turns out I needed to install the Java SDK to just so I could run android.bat to download the USB driver that windows needs just so tools like adb can communicate with my phone.

Well I had to install the Java SDK anyway so I could use the ddms tool but I thought, what if someone just wants to use adb tool? To this end I’ve put the USB driver (revision 3) on this site here for others to download if they need it.

I don’t make guarantees about the file integrity though but the MD5 sum was 2755ab04ea74b8a369750b0ecdf958fd when I uploaded the file.