<?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>Open Handset Magazine &#187; Tips</title>
	<atom:link href="http://openhandsetmagazine.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://openhandsetmagazine.com</link>
	<description></description>
	<lastBuildDate>Thu, 30 Jun 2011 20:24:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Tips: How to install apk files on Android Emulator</title>
		<link>http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/</link>
		<comments>http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 19:09:19 +0000</pubDate>
		<dc:creator>Hatem Ben Yacoub</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[Android application]]></category>
		<category><![CDATA[apk]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[install apk]]></category>
		<category><![CDATA[uninstall apk]]></category>

		<guid isPermaLink="false">http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/</guid>
		<description><![CDATA[If you are new to Android and looking for a way to test some of the currently available Android applications, here is how to proceed : First get the Android SDK and unzip it somewhere on your hard drive Add SDK_ROOT to your system variables pointing to /tools folder under the sdk Run the emulator [...]]]></description>
			<content:encoded><![CDATA[<p>If you are new to Android and looking for a way to test some of the currently available Android applications, here is how to proceed :</p>
<ol>
<li>First get the Android SDK and unzip it somewhere on your hard drive</li>
<li>Add SDK_ROOT to your system variables pointing to /tools folder under the sdk</li>
<li>Run the emulator</li>
<li>Copy the apk file to /tools folder</li>
<li>Change directory to /tools and run from commandline <em>$adb install your_application.apk</em></li>
<li>Now check applications list in the emulator and you should see the new application installed and ready.</li>
</ol>
<p>Some pointed me to the error message when running adb on windows : * deamon still not running * error: no device.</p>
<p>In this case try to shutdown adb server and start it manually using :<br />
<em>$adb kill-server</em><br />
<em>$adb start-server</em></p>
<p>You can test if deamon is working by running $adb shell</p>
<p>The uninstall procedure is</p>
<p><em>$adb shell rm your_application.apk</em></p>
<p>Hope this help, enjoy !</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fopenhandsetmagazine.com%2F2008%2F01%2Ftips-how-to-install-apk-files-on-android-emulator%2F&amp;title=Tips%3A%20How%20to%20install%20apk%20files%20on%20Android%20Emulator" id="wpa2a_2"><img src="http://openhandsetmagazine.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Tips: Howto Connect Android Emulator behind proxy</title>
		<link>http://openhandsetmagazine.com/2007/11/tips-howto-connect-android-emulator-behind-proxy/</link>
		<comments>http://openhandsetmagazine.com/2007/11/tips-howto-connect-android-emulator-behind-proxy/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 08:44:36 +0000</pubDate>
		<dc:creator>Hatem Ben Yacoub</dc:creator>
				<category><![CDATA[Android Dev]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://openhandsetmagazine.com/2007/11/tips-howto-connect-android-emulator-behind-proxy/</guid>
		<description><![CDATA[If you are behind a proxy and looking to connect the emulator to Internet, Luisa Magarian have posted the way to set proxy for the emulator. It uses the command line and the adb utility. First change directory to the emulator tools folder, you will find also the adb utility there. Run the emulator, then [...]]]></description>
			<content:encoded><![CDATA[<p>If you are behind a proxy and looking to connect the emulator to Internet,    <a href="http://groups.google.com/group/android-developers/browse_thread/thread/c98d233fb3f30469" target="_blank">Luisa Magarian have posted the way to set proxy</a> for the emulator. It uses the command line and the adb utility. First change directory to the emulator tools folder, you will find also the adb utility there. Run the emulator, then from command line  :</p>
<ol>
<li> ./adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db &#8220;\&#8221;INSERT INTO system VALUES(99,&#8217;http_proxy&#8217;,&#8217; [host_or_IP]:[port]&#8216;);\&#8221;"</li>
<li>Change [host_or_ip] and [port] to your correct proxy values</li>
<li>Try to connect from Android and it should be working fine.</li>
</ol>
<p>Luisa posted also the way to access some Android&#8217;s system setting using SQLite, this will help to get more information on how Android work, for example to retrieve all settings :</p>
<ol>
<li>./adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db &#8220;\&#8221;SELECT * FROM system\&#8221;"</li>
<li>This will return :<br />
1|music_volume|3<br />
2|voice_volume|3<br />
3|ringer_volume|3</li>
</ol>
<p style="text-align: center"><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/ohm.png" alt="OHM" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fopenhandsetmagazine.com%2F2007%2F11%2Ftips-howto-connect-android-emulator-behind-proxy%2F&amp;title=Tips%3A%20Howto%20Connect%20Android%20Emulator%20behind%20proxy" id="wpa2a_4"><img src="http://openhandsetmagazine.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://openhandsetmagazine.com/2007/11/tips-howto-connect-android-emulator-behind-proxy/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Tips: Change Android Emulator Skin</title>
		<link>http://openhandsetmagazine.com/2007/11/tips-change-android-emulator-skin/</link>
		<comments>http://openhandsetmagazine.com/2007/11/tips-change-android-emulator-skin/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 06:51:17 +0000</pubDate>
		<dc:creator>Hatem Ben Yacoub</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://openhandsetmagazine.com/2007/11/tips-change-android-emulator-skin/</guid>
		<description><![CDATA[Android emulator came with four predefined skins, I just noticed the skins in image folder but didn&#8217;t find a way to switch from default skin, while it was very easy. Every skin is based on transparent png images and using a layout file to describe images and positions. To run the emulator with a different [...]]]></description>
			<content:encoded><![CDATA[<p>Android emulator came with four predefined skins, I just noticed the skins in image folder but didn&#8217;t find a way to switch from default skin, while it was very  easy. Every skin is based on transparent png images and using a <em>layout</em> file to describe images and positions.</p>
<p>To run the emulator with a different skin, use from command line :</p>
<pre>emulator -skin HVGA-L</pre>
<p>While HVGA-L is the skin ID, the available skins are :</p>
<p>QVGA-L 320&#215;240, landscape (default)</p>
<p><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/e-mini-qvga-l.png" alt="Emulator skin QVGA-L" /><br />
QVGA-P 240&#215;320, portrait</p>
<p><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/e-mini-qvga-p.png" alt="Emulator skin QVGA-P" /></p>
<p>HVGA-L 480&#215;320, landscape</p>
<p><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/e-mini-hvga-l.png" alt="Emulator skin HVGA-L" /></p>
<p>HVGA-Q 320&#215;480, portrait</p>
<p><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/e-mini-hvga-p.png" alt="Emulator skin HVGA-P" /></p>
<p>From eclipse you can also run the emulator with a different skin, just goto run dialog -&gt; select project -&gt; in the right panel, select Emulator tab as shown in screenshot below :</p>
<p><a href="http://openhandsetmagazine.com/2007/11/tips-change-android-emulator-skin/run-emulator-with-different-skin-from-eclipse/" rel="attachment wp-att-24" title="Run emulator with different skin from eclipse"><img src="http://openhandsetmagazine.com/wp-content/uploads/2007/11/eclipse-android-skin.thumbnail.png" alt="Run emulator with different skin from eclipse" /></a></p>
<p>Thanks to NuuNeoI and Dmitriy</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fopenhandsetmagazine.com%2F2007%2F11%2Ftips-change-android-emulator-skin%2F&amp;title=Tips%3A%20Change%20Android%20Emulator%20Skin" id="wpa2a_6"><img src="http://openhandsetmagazine.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://openhandsetmagazine.com/2007/11/tips-change-android-emulator-skin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

