Pages

Monday, January 3, 2011

Setting up an Android Development Environment on Windows

Now that i have finally managed to run a stable fast version of Android on my HTC HD2 (thanks to Dark Forces Team at xda-developers.com) I am looking forward to having a go at writing an application. Here are the steps i have taken to setup my development environment on Windows.

Before you start you will need to download an IDE like Eclipse. I downloaded Eclipse Classic 3.6. Eclipse does not install like a usual windows application so you have to manually copy the eclipse folder to a suitable location on your hard drive then create yourself a shortcut.

Install the JDK if you do not have it already.

Install the Android SDK starter package I downloaded the windows executable from
here
make a note of the install path as you will need this in the next step. In my case it was "C:\Program Files\Android\android-sdk-windows" . When the starter package install has finished agree to run and then select the "accept all" check box to download all the SDK tools.

Install the ADT Plugin. Open Eclipse and select Help/Install New Software click add in the top right corner then enter ADT Plugin for the name and input the following link.

https://dl-ssl.google.com/android/eclipse/



then click next, accept the agreement and click finish to install the plugin.

To configure the ADT plugin click Window/Preferences, select android on the left then paste in or browse to the path of your sdk location.



To add platforms or other components double-click the SDK Manager.ext file at the root of the Android SDK directory. Here you can also setup virtual devices.


That completes the setup of your Android Development Environment in my next post I am going to be setting up the "Hello World" application.

Sources: developer.android.com

Sunday, January 2, 2011

Learn CSS positioning in ten steps


CSS Positioning is something i have always found a bit tricky.

This tutorial I found examines the different layout properties available in CSS: position:static, position:relative, position:absolute, and float.


Learn CSS Positioning in Ten Steps

Windows phone 7 theme for Desktop,



I was recently watching a video by Scott Hanselman (asp.net) and noticed
that he had this cool theme on his laptop. I searched google for more info
and managed to set the same thing up for myself (screenshot above). If you
would like to set this up for yourself you need to install two programs.


1. Rainmeter (Free)
2. Omnimo 3.1 for Rainmeter by *fediaFedia on deviantART (Free)

Once installed there are hundreds of widgets/resource meters that you can
download so you can fully customize it to your own style.

Full credit to both products they are absolutely brilliant.

2011 New Year’s Resolutions

I have just been reading some new years resolutions on twitter,
i thought that it would be a good idea to make some of my own.

So here they are:

1. Get more sleep.
2. Learn how to complete my Rubik's cube in under two minutes.
3. Master asp.net mvc and master linq to sql.
4. Build an android app.
5. Make better use of social networking sites.
6. Update my blog more regularly.
7. Eat more healthily.
8. Exercise more.
9. Keep my desk free from clutter.
10. Give up niquitine gum.