<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TiMoch &#187; eclipse</title>
	<atom:link href="https://timoch.com/blog/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>https://timoch.com/blog</link>
	<description>on edge</description>
	<lastBuildDate>Tue, 29 Apr 2014 15:02:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Setting up an Android development environment</title>
		<link>https://timoch.com/blog/2012/07/setting-up-an-android-development-environment/</link>
		<comments>https://timoch.com/blog/2012/07/setting-up-an-android-development-environment/#comments</comments>
		<pubDate>Mon, 16 Jul 2012 19:44:03 +0000</pubDate>
		<dc:creator><![CDATA[timoch]]></dc:creator>
				<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.timoch.com/blog/?p=20</guid>
		<description><![CDATA[I am a newbie with mobile application development. As I start fiddling around, I find it is not exactly straightforward to setup an Android development environment for the first time. This post tries to take you through the few steps required before you can run a very first Android application. Installing Eclipse First you want [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I am a newbie with mobile application development. As I start fiddling around, I find it is not exactly straightforward to setup an Android development environment for the first time. This post tries to take you through the few steps required before you can run a very first Android application.</p>
<h1>Installing Eclipse</h1>
<p>First you want to install the Eclipse IDE. Eclipse is an Integrated Development Environment very much focused on Java development. Many plugins exist to extend its functionality. Some of which will make your life as an Android app developer much easier.</p>
<p>Point your browser to the Eclipse website <a title="www.eclipse.org" href="http://www.eclipse.org" target="_blank">eclipse.org</a> and go to their download page.</p>
<p>Many options there. I picked the Eclipse Classic package as I don&#8217;t yet need specific plugins from the other package. If I understand correctly, the plugins can be installed later on anyway so you can choose any of the options. Once downloaded, simply extract the archive content to your working directory of choice.</p>
<p>The package is quite big so it might take a while. In the meantime, you can already check out the <a title="Android Developer" href="http://developer.android.com" target="_blank">Android Developer</a> website. It contains a lot of useful information about developing and designing mobile application.</p>
<h1>Android SDK</h1>
<p>The next piece of software you need is the Android SDK. You can find the download page <a title="here" href="https://developer.android.com/sdk/index.html" target="_blank">here</a>. Download and start the installation. The Android SDK setup will take care of installing the Java SE Development Kit if it is not installed already. Choose where to install the SDK and continue the installation.</p>
<p>You are not done yet with the Android SDK installation. You still need to run the SDK manager to get the system images for the versions of Android you want to target. This is what it looks like:</p>
<p><a href="http://www.timoch.com/blog/wp-content/uploads/2012/07/android-sdk.png"><img class="aligncenter size-full wp-image-35" title="Android SDK Manager" src="http://www.timoch.com/blog/wp-content/uploads/2012/07/android-sdk.png" alt="" width="679" height="451" /></a></p>
<p>The screen show the versions of Android that you can target for your applications. Each version shown exposes a different level of functionality of the Android framework and devices. We will use the latest version here. For more information on how the API is versioned, you should have a look here on the Android developer site : <a href="http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels" target="_blank">What is an API level ?</a></p>
<h1>The ADT Plugin</h1>
<p>We are almost there. The last step is to install the eclipse plugin to support Android development. This plugin will integrate the Android SDK components into Eclipse so that development is as straightforward as possible. The plugin is called Android Development Tools (ADT for short). You can find more information about it <a href="http://developer.android.com/tools/sdk/eclipse-adt.html" target="_blank">here</a>.</p>
<p>The installation is done directly within Eclipse so go ahead and start it. Go to menu Help -&gt; Install New Software</p>
<p><a href="http://www.timoch.com/blog/wp-content/uploads/2012/07/sc-eclipse-install-software-menu.png"><img class="aligncenter size-full wp-image-42" title="Eclipse menu - Help -&gt; Install New Software" src="http://www.timoch.com/blog/wp-content/uploads/2012/07/sc-eclipse-install-software-menu.png" alt="" width="698" height="343" /></a></p>
<p>Add a new repository called ADT Plugin with the URL https://dl-ssl.google.com/android/eclipse/. Some time after selecting the repository, you should get a list of software similar to this. Select the whole Developer Tools branch and continue with the wizard by clicking Next.</p>
<p><a href="http://www.timoch.com/blog/wp-content/uploads/2012/07/sc-eclipse-available-software-window.png"><img class="aligncenter size-full wp-image-43" title="Eclipse - Available Software window" src="http://www.timoch.com/blog/wp-content/uploads/2012/07/sc-eclipse-available-software-window.png" alt="" width="737" height="691" /></a></p>
<p>And voilà ! <img src="https://timoch.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" />  You can now create new Android projects and code away for your favorite device.</p>
<h1>Conclusion</h1>
<p>In order to develop Android applications, you need to get:</p>
<ul>
<li><a href="http://eclipse.org" target="_blank">Eclipse IDE</a></li>
<li><a href="http://developer.android.com/sdk/index.html" target="_blank">Android SDK</a></li>
<li><a href="http://developer.android.com/tools/sdk/eclipse-adt.html" target="_blank">ADT Plugin for Eclipse</a></li>
</ul>
<div>Once this is setup, all you need is to get creative <img src="https://timoch.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley" /> </div>
<div></div>
<div>Have fun!</div>
<div>TiMoch <em>on edge</em></div>
]]></content:encoded>
			<wfw:commentRss>https://timoch.com/blog/2012/07/setting-up-an-android-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
