<?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>LuFFy&#187; Andriod</title>
	<atom:link href="http://cherryandtomato.com/category/andriod/feed/" rel="self" type="application/rss+xml" />
	<link>http://cherryandtomato.com</link>
	<description>The world is a fine place, and worth fighting for.  --Ernest Hemingway</description>
	<lastBuildDate>Sat, 24 Jul 2010 16:21:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Andriod开发环境部署</title>
		<link>http://cherryandtomato.com/2010/01/andriod-development-environment-to-deploy/</link>
		<comments>http://cherryandtomato.com/2010/01/andriod-development-environment-to-deploy/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 18:06:00 +0000</pubDate>
		<dc:creator>luffyhan</dc:creator>
				<category><![CDATA[Andriod]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://cherryandtomato.com/2010/01/andriod-development-environment-to-deploy/</guid>
		<description><![CDATA[怎么部署Andriod的开发环境：

JRE （Eclipse的运行环境）http://www.java.com/en/download/manual.jsp 
Eclipse（the &#34;Eclipse Classic&#34; version is recommended 开发调试工具，推荐下载经典版），安装好JRE后，直接解压Eclispse.zip文件，例如至：C:\Program Files，然后就可运行exlipse.exe了。 http://www.eclipse.org/downloads/ 
Andriod SDK&#160; 下载好后，直接解压Andriod.zip文件，例如至：C:\Program Files。http://androidappdocs.appspot.com/sdk/index.html 
ADT (Andriod Development Tools)—a custom plugin for the Eclipse IDE to build Andriod applications。安装方法见此页面：http://androidappdocs.appspot.com/sdk/eclipse-adt.html 在Help-&#62;Install New Software界面中点击Add，添加ADT Plugin的在线安装地址：https://dl-ssl.google.com/android/eclipse/ 或者http://dl-ssl.google.com/android/eclipse/，等列出资源表后，全部选上安装就OK了。重启Eclipse就能看到多出几个Andriod模拟器图标了。 
Modify Eclipes preferences to point to the Andriod SDK directory. 在Window-&#62;Prefences，选中Andriod，在右边的SDK Location中定位到之前的解压目录。 
接下来在界面上点击手机模拟器图标，下载所需要的开发包和文档以及USB驱动。例如，可以选2.1和1.5两个版本。AVD(Andriod Virtual Device)&#160; The Android SDK starter package includes [...]]]></description>
			<content:encoded><![CDATA[<p>怎么部署Andriod的开发环境：</p>
<ol>
<li>JRE （Eclipse的运行环境）<a title="http://www.java.com/en/download/manual.jsp" href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a> </li>
<li>Eclipse（the &quot;Eclipse Classic&quot; version is recommended 开发调试工具，推荐下载经典版），安装好JRE后，直接解压Eclispse.zip文件，例如至：C:\Program Files，然后就可运行exlipse.exe了。 <a title="http://www.eclipse.org/downloads/" href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a> </li>
<li>Andriod SDK&#160; 下载好后，直接解压Andriod.zip文件，例如至：C:\Program Files。<a href="http://androidappdocs.appspot.com/sdk/index.html">http://androidappdocs.appspot.com/sdk/index.html</a> </li>
<li>ADT (Andriod Development Tools)—a custom plugin for the Eclipse IDE to build Andriod applications。安装方法见此页面：<a href="http://androidappdocs.appspot.com/sdk/eclipse-adt.html">http://androidappdocs.appspot.com/sdk/eclipse-adt.html</a> 在Help-&gt;Install New Software界面中点击Add，添加ADT Plugin的在线安装地址：<code>https://dl-ssl.google.com/android/eclipse/</code> 或者<code>http://dl-ssl.google.com/android/eclipse/</code>，等列出资源表后，全部选上安装就OK了。重启Eclipse就能看到多出几个Andriod模拟器图标了。 </li>
<li>Modify Eclipes preferences to point to the Andriod SDK directory. 在Window-&gt;Prefences，选中Andriod，在右边的SDK Location中定位到之前的解压目录。 </li>
<li>接下来在界面上点击手机模拟器图标，下载所需要的开发包和文档以及USB驱动。例如，可以选2.1和1.5两个版本。AVD(Andriod Virtual Device)&#160; The Android SDK starter package includes only a single component: the latest version of the SDK Tools. Included in that component is a tool called <em>Android SDK and AVD Manager</em> that you can use to download other components from the SDK repository site. The tool provides a graphical UI that lets you browse the repository, select new or updated components for download, and then install them in your SDK. </li>
<li>下载完成后转到虚拟设备里面，创建模拟设备，设置好名字和系统版本。这样就可以开始写Hello World，进行Andriod之旅了。 </li>
</ol>
<p><a title="NexusOne1 by LuffyHan, on Flickr" href="http://www.flickr.com/photos/luffy/4315916611/"><img alt="NexusOne1" src="http://farm3.static.flickr.com/2765/4315916611_77ef311ed7_o.png" width="795" height="557" /></a></p>
<p><a title="NexusOne2 by LuffyHan, on Flickr" href="http://www.flickr.com/photos/luffy/4315920065/"><img alt="NexusOne2" src="http://farm3.static.flickr.com/2762/4315920065_0c5e31682b_o.png" width="791" height="557" /></a></p>
<blockquote><p><strong>一些术语：</strong></p>
<p><strong>IME</strong>&#8212;-Input Method Editor 也就是常说的“输入法”</p>
<p><strong>Screen size</strong>&#8212;-Actual physical size, measured as the screen’s diagonal</p>
<p><strong>Resolution</strong>&#8212;-The total number of physical pixels on a screen. Note that, although resolution is often expressed as <em>width</em> x <em>height</em>, resolution does not imply a specific aspect ratio.</p>
<p><strong>Density</strong>&#8212;-Based on the screen resolution, the spread of pixels across the physical width and height of the screen. A screen with lower density has fewer available pixels spread across the screen width and height, where a screen with higher density has more — sometimes significantly more — pixels spread across the same area. The density of a screen is important because, other things being equal, a UI element (such as a button) whose height and width are defined in terms of screen pixels will appear larger on the lower density screen and smaller on the higher density screen. 像素密度=像素总数/屏幕面积</p>
<p><strong>Density independent pixel (dip)</strong>&#8212;-</p>
<p>A virtual pixel unit that applications can use in defining their UI, to express layout dimensions or position in a density-independent way. </p>
<p>The density-independent pixel is equivalent to one physical pixel on a 160 dpi screen, the baseline density assumed by the platform (as described later in this document). At run time, the platform transparently handles any scaling of the dip units needed, based on the actual density of the screen in use. The conversion of dip units to screen pixels is simple: <code>pixels = dips * (density / 160)</code>. For example, on 240 dpi screen, 1 dip would equal 1.5 physical pixels. Using dip units to define your application&#8217;s UI is highly recommended, as a way of ensuring proper display of your UI on different screens.&#160; Andriod密度：160DPI的密度系数是1。</p>
<p><strong><a href="http://baike.baidu.com/view/10346.htm" target="_blank">VGA(Video Graphics Array)</a></strong>&#8212;-是IBM在1987年随PS／2机一起推出的一种视频传输标准。在手机屏幕中意思只表示指手机的分辨率，与手机液晶屏幕的TFT材质和手机屏幕大小尺寸都<strong>没有</strong>关系。</p>
<p>VGA是640*480像素</p>
<p>QQVGA(Quarter Quarter VGA)&#8212;-160*120像素</p>
<p>QVGA(Quarter VGA)&#8212;-VGA的四分之一尺寸 320*240像素</p>
<p>WQVGA(Wide Quarter VGA)&#8212;-400*240像素</p>
<p>HVGA(Half-size VGA)&#8212;-VGA的一半 320*480像素</p>
<p>WVGA(Wide VGA)&#8212;-800*480像素</p>
<p>SVGA(Super VGA)&#8212;-800*600像素</p>
<p>XGA(Extended Graphics Array)&#8212;-1024*768像素</p>
<p>WXGA(Wide eXtended Graphics Array)&#8212;-1280*768像素</p>
<p>Quad-VGA&#8212;-1280*960像素</p>
<p>WXGA+(Wide XGA+)&#8212;-1440*900像素</p>
<p>SXGA(Super XGA)&#8212;-1280*1024像素</p>
<p>WXGA++(Wide XGA++)&#8212;-1600*900像素</p>
<p>SXGA+(Super XGA+)&#8212;-1400*1050像素&#8212;-我的本本就是这个像素！</p>
<p>UXGA(Ultra XGA)&#8212;-1600*1200像素</p>
<p>WUXGA(Wide Ultra XGA)&#8212;-1920*1200像素</p>
<p>QXGA(Quad XGA)&#8212;-2048*1536像素</p>
<p>QSXGA(Quad Super XGA)&#8212;-2560*2048像素</p>
<p>同样的分辨率，屏幕越小，显示越细腻。</p>
</blockquote>
<h3  class="related_post_title">你也许对这些文章也感兴趣……:</h3><ul class="related_post"><li>January 9, 2010 -- <a href="http://cherryandtomato.com/2010/01/flex-study-part-1/" title="Flex Study (Part 1)">Flex Study (Part 1)</a></li><li>January 9, 2010 -- <a href="http://cherryandtomato.com/2010/01/adobe-flash-catalyst/" title="Adobe Flash Catalyst">Adobe Flash Catalyst</a></li><li>January 4, 2010 -- <a href="http://cherryandtomato.com/2010/01/python-learning-1/" title="Python 学习(1)">Python 学习(1)</a></li><li>October 24, 2009 -- <a href="http://cherryandtomato.com/2009/10/google-wave/" title="google wave">google wave</a></li><li>September 4, 2009 -- <a href="http://cherryandtomato.com/2009/09/kai-fu-lee-to-leave-google/" title="李开复离开谷歌">李开复离开谷歌</a></li><li>February 3, 2009 -- <a href="http://cherryandtomato.com/2009/02/%e6%88%90%e5%8a%9f%e4%bc%81%e4%b8%9a%e7%9a%84%e7%a4%ba%e8%8c%83%e6%95%88%e5%ba%94/" title="成功企业的示范效应">成功企业的示范效应</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://cherryandtomato.com/2010/01/andriod-development-environment-to-deploy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
