Skip to main content

Set up Android development environment on Ubuntu 9.10

Experiments with setting up Android development environment in Ubuntu 9.10 karmic koala

Following packages are required for setup

Eclipse IDE

sudo apt-get install eclipse   
 
JDK 6 

sudo apt-get install sun-java6-jdk
Android SDK
  1. Download the latest Android SDK from http://developer.android.com/sdk/index.html 
  2. Copy that package to folder named android into your home folder
  3. tar -xvzf android-sdk_r04-linux_86.tgz
  4. mv android-sdk_r04-linux_86.tgz ~/android/
  5. cd ~/android/
  6. tar xzvf android-sdk_r04-linux_86.tgz
  7. - Edit your ~/.bashrc file and add a line to the bottom:export PATH=${PATH}:/home/padma/android/android-sdk-linux_86/tools/ 
  8. Go to /home/padma/android/android-sdk-linux_86/tools/
  9. run the android script : ./android
  10. In the resulting window, In setting menu add :  https://dl-ssl.google.com/android/repository/repository.xml 
  11. After that an “Available Packages” option. In that add repository link :  I clicked on that, then clicked the checkbox beside the “repository.xml” package to select all available packages and then clicked “Install Selected.”
  12.  
Android Development Tools (ADT) for Eclipse.  
  1. Download ADT from http://dl.google.com/android/ADT-0.9.5.zip
  2. Start Eclipse, then select Help > Install New Software.
  3. In the Available Software dialog, click Add....
  4. In the Add Site dialog, click Archive.
  5. Browse and select the downloaded zip file.
  6. Enter a name for the local update site Android Plugin in the "Name" field.
  7. Click OK.
  8. Go to “Window > Preferences” and locate/browse Android SDK path,(e.g here it is   /home/padma/android/android-sdk-linux_86)

Now create your first application with Android : http://developer.android.com/guide/tutorials/hello-world.html

Comments

Popular posts from this blog

Touching One .......................

Little girl and her father were crossing a bridge. The father was kind of scared so he asked his little daughter, "Sweetheart, please hold my hand so that you don't fall into the river. " The little girl said, "No, Dad. You hold my hand. " "What's the difference?" Asked the puzzled father. "There's a big difference, " replied the little girl. "If I hold your hand and something happens to me,chances are that I may let your hand go. But if you hold my hand, I know for sure that no matter what happens, you will never let my hand go. " In any relationship, the essence of trust is not in its bind, but in its bond. "So hold the hand of the person whom you love rather than expecting them to hold urs... this story tells many things... u just need to understand the meaning rest depends on u "

Are you afraid of the dark!!! -Sidney Sheldon

I have just finished reading this book ............... The book starts with the cops who find the dead bodies of various scientists. It tells us briefly about the lives of the two widows when they were married rather happily married. One widow being a high profile model the other being a girl next door kind of a person. This book is a story of the wives of two good scientist who escape death several times. The two lose their husband as they were murdered for being involved in a very high profile undercover project. The book describes how the two widows decide to find out the person involved in murdering their husband and in the process how do they escape death several times and finally whether did they die or not ? is a question which will be answered only after reading the book. ARE YOU AFRAID OF THE DARK? is a pleasant and easy read. While the story has its flaws, it certainly held my interest and kept me reading to the very end.

Add Favicon icon to drupal site

Now, to add it to drupal with a theme using the phptemplate engine is easy. Just upload the favicon.ico file to the base directory of your theme. The same directory your style.css file is in. Drupal will automatically detect it and do the work to make it display on your site. If you are using something other than drupal than to have your favicon display will need one more step. Once the file is uploaded to the sever, the following piece of code needs to be up on your web pages in the < head / > : < link rel="shortcut icon" href="/path/to/favicon.ico" type="image/x-icon" / > Just change the /path/to to the path to your favicon.ico file and your all set.