As I promised on my last
post,
I couldn't resist not to write at least a hello-world application on
my new phone. I went so through the, a bit long, task of installing
the Android developer
tools and writing my first program with it. I followed,
step-by-step, instructions provided from Google Android SDK how-to
pages. As a start I installed on my desktop computer but, soon, I'll
try installing Android SDK on the EEEPC too.
Installation
The first step I took has
been, of course, installing Eclipse IDE, a quite plain install from
the software centre apart from some compatibility problem
with Oracle Java 7. I had to revert to OpenJDK as default JVM in
order to make Eclipse start.
The second step has been
downloading
and extracting Google's Android SDK. I though, at the beginning,
about installing on a system folder like “/opt”, until I
discovered that Android's Eclipse plug-in takes care of downloading
and upgrading files on the SDK folder. I so went back to installing
it on my home folder since running Eclipse as root user every time
you have to do an upgrade is far from being advisable. By the way
installing the SDK has only matter of extracting the downloaded file:
tar -xf android-sdk_r20.0.3-linux.tgz
Then I started Eclipse
and selected the “Install new software” option from the
“Help” menu opening the plug-in installation form. Here I
added Google plug-in update URL (with the “Add...” button)
and selected all the “Developer tools” items.