Main Menu

friends

Latest articles

if then else in BASH - the basics
13/05/2010 | mad mad mod

If then else in bash is not very difficult. However, there is something that can cause problems:Please note the spacing inside the brackets! It won't work without! string comparison
simple example:



 [ ... ]


monitor I/O with iotop
11/03/2010 | mad mad mod

iotop is a nice tool to monitor I/O usage information output by the Linux kernel (requires 2.6.20 or later). To install iotop with yum as root (for RedHat / Fedora / Centos based systems only)&nb [ ... ]


Other Articles
Facebook MySpace Twitter Digg Delicious Stumbleupon Google Bookmarks 

Designed by:
SiteGround web hosting Joomla Templates
mad mad mod
Android development: how to setup eclipse for android programming E-mail
programming

This article describes how to setup Eclipse on Fedora 15 for developing Android Apps

 

Before you start you might want to have a look at the system requirements for developing Android applications using the Android SDK:

http://developer.android.com/sdk/requirements.html

 

Step 1: install eclipse

run the following command as root:

# yum install eclipse

 

(...)

xml-commons-resolver        noarch  1.2-7.fc15                  fedora   106 k

Transaction Summary
================================================================================
Install      60 Package(s)

Total download size: 198 M
Installed size: 478 M
Is this ok [y/N]: y

 

Step 2: download Android SDK

 

download the sdk from this page http://developer.android.com/sdk/index.html via browser or with wget:

wget http://dl.google.com/android/android-sdk_r12-linux_x86.tgz

 

Step 3: extract the sdk

 

If you have downloaded the tar to your $HOME directory, change to that directory and extract the archive:

cd

tar -xvf android-sdk_r12-linux_x86.tgz

 

Step 3: Install the ADT Plugin

start eclipse and then go to "Help" --> "Install new software..."

eclipse install new software

 

 

Then click on the "Add..." button:

eclipse install new software add repository

 

 

...and enter the URL for the ADT plugin (https://dl-ssl.google.com/android/eclipse/):

eclipse install new software add repository

 

 

Select the developer tools:

 

click next:

 

 

accept the license agreement and click the "Finish" button:

 

 

Wait until the software is installed...

 

At the end eclipse will ask you if you want to restart the application. Click the "Restart Now" button:

 

If you then see a message like "Could not find folder 'tools' inside SDK ...":

 

click "OK" and go to Window --> Preferences:

 

And set the correct location for the SDK:

 

Then go to "Window" --> "Android SDK and AVD Manager"

 

 

Click on "Available Packages" and select the Platform you need. Then click on "Install Selected"

 

and again, accept the license:

 

Ok, now everything is set up to create a Virtual Android Device. Go to "Window" --> "Android SDK and AVD Manager" and click on "new":

 

Ok, I think that's it. Have fun :)

 
mad mad mod, Powered by Joomla! and designed by SiteGround web hosting