Get Google and AJAX to Play Nice

The best ways to incorporate the benefits of AJAX without making your site blind to search engines.

«If you build it, they will come.» It seemed to work for Kevin Costner in Field of Dreams, but when it comes to your AJAX website, a great design just isn't enough to bring in an audience.

AJAX gives developers the ability to build dynamic web applications without the need for constant server side script parsing, enabling you to provide users with simulated «load on demand» sites. That means shorter page loading times, a sharp decrease in bandwidth consumption and more accessible information in general.

Unfortunately, developers are often so focused on creating a dynamic web page, that they forget that most website traffic today comes through search engines, search engines which have a hard time crawling and indexing the JavaScript in standard AJAX sites. In plain english, that means that in Google's eyes, many of your AJAX site's pages are invisible when it comes to search engine ranking. Compounding the problem is the fact that standard AJAX implementations use only a single page or URL for the majority of actions, meaning that not only are your site's pages indexed poorly, but that your site also has fewer pages in Google's index.

( Read more )

Android SDK Installation Guide

Here’s a quick start installation guide to get you up and running with the Google Android Software Development Kit (SDK). This guide will describe how to install the Android SDK and set up your chosen development environments. If you’ haven’t already done so you can download the Android SDK from the link below, then we can get started.

First you’ll need to download the Android SDK source files

( Read more )

Too Many Bits for DDMS

If you’re like me, you do your Android development outside Eclipse and therefore rely upon the full range of the Android toolkit, from activitycreator through DDMS. And, if you’re like me, you just plopped a 64-bit Linux (Ubuntu 8.10 “Intrepid Ibex”) on a multi-core PC for development work.

Which means, if you’re like me, you ran into a problem trying to get DDMS to run.

DDMS appears to be written using the Eclipse’s SWT GUI toolkit. The version of the SWT that ships with Android 1.0r2 is written for a 32-bit Java runtime. If you try running it on a 64-bit Java VM, you get a nasty error like “wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)” coming out of one of the RCP libraries (tools/lib/libswt-pi-gtk-3236.so).

I am sure there are any number of elegant ways to get around this that allow DDMS to run as 32-bit Java while the rest of your environment is 64-bit Java. However, I couldn’t find any. So, here’s a brute-force way to do it.

First, you need a 32-bit Java runtime. In Debian/Ubuntu, this is in the ia32-java-6-sun package. Install that using your favorite packaging tool (Synaptic, aptitude, apt-get, etc.).

You can then use update-java-alternatives –list to confirm that your 64-bit JDK is there, but the 32-bit JRE is also available. It should also have left alone your default Java (the one invoked when you run java at the command line).

Next, you need to teach DDMS to use the 32-bit Java instead of the default. Use update-java-alternatives –list to determine the path to your 32-bit Java runtime (e.g., /usr/lib/jvm/ia32-java-6-sun/bin/java). Then, make a copy of tools/ddms from your Android runtime and modify it, changing the value of java_cmd to match your 32-bit JRE location (e.g., java_cmd=”/usr/lib/jvm/ia32-java-6-sun/bin/java”).

Try it out, and DDMS should fire up just fine. Since it coordinates with devices and emulators using sockets or USB drivers, the fact that it is 32-bit does not affect its ability to interoperate with your other tools.

Of course, you have to remember to use your modified DDMS (e.g., set up a launcher for it on your desktop or a GNOME panel). And, you may need to repeat these steps, or ones like them, in future Android SDK releases, until DDMS is shipped in a way that works out of the box for both 32-bit and 64-bit Java.

Have a cleaner way to fix this problem? Post a comment and let us know!

QuickOffice For Android Revealed

QuickOffice have revealed a version of it’s Microsoft Office editing software for the Android platform.

QuickOffice for Android will allow users to edit various Microsoft Office documents including Word, Excel and Powerpoint.

Thanks to a partnership QuickOffice and SoonR (a company providing remote-access technology), users will also have the ability to access documents on home PC systems via the internet.

Here’s some screenshots from the QuickOffice for Android software




( Read more )

G1 and Cupcake - What

Current G1 owners are licking their chops at the prospect of getting some much desired updates to their Android phones. Features like video recording, stereo Bluetooth, and an on-screen keyboard are the only things missing from an otherwise robust OS. But will the G1 ever see the icing from cupcake’s features? Ask around and you’re likely to get varying answers.

Here’s what we’ve pieced together so far.

Cupcake is a different version, or image of Android. Carriers and handset makers are free to take whatever is available from Android and bend it to their liking. If the hardware you have doesn’t support stereo Bluetooth, then obviously the device won’t either. No software is going to override the hardware and get it to do something it can’t.

( Read more )

Dataviz Bringing Microsoft Office to Android

This is great news! DataViz, makers of the uber-popular and uber-good suite, Documents To Go is bringing their award winning mobileOffice suite to Android! So if you’re a productivity beast or heavy business user, there’s one more reason to test out Android! You’ll have access to Microsoft Word, Excel, Powerpoint and PDF files on the go with Documents To Go. We’ve heard nothing but good things from Documents To Go so be ready to download their software in 2009!

Also, DataViz is bringing their Microsoft Exchange ActiveSync client RoadSync to Android as well, so users of Exchange take note! Everything is expected to release in 2009, which coincides with Android Market being capable of paid applications. We don’t know exact pricing yet, but one can expect a price near $29.99–a price that’ll surely be worth it for any heavy business user.