<?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>Chris Bunney &#187; Android</title>
	<atom:link href="http://www.chrisbunney.com/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisbunney.com</link>
	<description>Chris on Computing</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:34:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Fixing a Silent Alarm on HTC Hero</title>
		<link>http://www.chrisbunney.com/2009/11/02/fixing-a-silent-alarm-on-htc-hero/</link>
		<comments>http://www.chrisbunney.com/2009/11/02/fixing-a-silent-alarm-on-htc-hero/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 11:00:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[HTC Hero]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.chrisbunney.com/?p=28</guid>
		<description><![CDATA[Alarm not making any sound when it goes off? Try this.]]></description>
			<content:encoded><![CDATA[<p>OK, so I was using an alarm to remind me to do something, but when the alarm went off there was not sound, it only vibrated.</p>
<p>I went through all the settings but couldn&#8217;t get it to sound.</p>
<p><span id="more-28"></span></p>
<p>Eventually I found the solution on <a href="http://forums.mobilefun.co.uk/htc-windows-mobile/673-htc-hero-android-alarm-no-sound.html#post2665">this forum</a>: when selecting what alarm sound to play, on the multiple choice menu,</p>
<div id="attachment_29" class="wp-caption aligncenter" style="width: 151px"><a href="http://www.chrisbunney.com/wp-content/uploads/2009/11/device.png"><img class="size-medium wp-image-29 " title="Android Alarm Sound Menu" src="http://www.chrisbunney.com/wp-content/uploads/2009/11/device-200x300.png" alt="A screenshot of the Alarm Sound Menu on my HTC Hero" width="141" height="212" /></a><p class="wp-caption-text">A screenshot of the Alarm Sound Menu on my HTC Hero</p></div>
<p>use the volume control to adjust the Alarm Volume (this is different from Ringer Volume). Turn up the alarm volume to the desired level and test the alarm again.</p>
<div id="attachment_30" class="wp-caption aligncenter" style="width: 153px"><a href="http://www.chrisbunney.com/wp-content/uploads/2009/11/adjusting_android_alarm_volume.png"><img class="size-medium wp-image-29 " title="adjusting_android_alarm_volume" src="http://www.chrisbunney.com/wp-content/uploads/2009/11/adjusting_android_alarm_volume.png" alt="Adjusting the Android Alarm Volume" width="143" height="215" /></a><p class="wp-caption-text">Adjusting the Android Alarm Volume</p></div>
<p>It should work now.</p>
<p>This works for the HTC Hero, and I expect will be the same for other phones using the Sense UI. It may also work for other Android phones, based on my fiddling with the Android emulator. Does it work for you? Why not tell us what phone it worked for in the comments below.</p>
<p>EDIT: (13/03/2010 09:10) Made introduction a bit clearer about the nature of the problem (alarm goes off but without sound) and added final paragraph about what phones this may work for (potentially all Android phones if the emulator is anything to go by)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisbunney.com/2009/11/02/fixing-a-silent-alarm-on-htc-hero/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Android SDK Updater: SSL Peer Shut Down Incorrectly</title>
		<link>http://www.chrisbunney.com/2009/11/01/android-sdk-updater-ssl-peer-shut-down-incorrectly/</link>
		<comments>http://www.chrisbunney.com/2009/11/01/android-sdk-updater-ssl-peer-shut-down-incorrectly/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 18:39:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.chrisbunney.com/?p=21</guid>
		<description><![CDATA[How to solve SSL issues with the Android SDK updater]]></description>
			<content:encoded><![CDATA[<p>I spent a lot of Saturday messing around trying to update my Android SDK and kept getting the error <code>SSL Peer Shut Down Incorrectly</code> just as the download seemed to be about to complete</p>
<p>I was using the eclipse AVD and SDK manager to upgrade, and since it wasn&#8217;t working I went looking for an alternative.</p>
<p><span id="more-21"></span></p>
<p>One idea suggested on Google&#8217;s <a href="http://developer.android.com/sdk/adding-components.html">Adding SDK Components</a> page was to <code>cd</code> into the tools directory and run the <code>android</code> command on the command line, but this didn&#8217;t work either as it couldn&#8217;t find the correct path for the SWT folder:<br />
<code><br />
Starting Android SDK and AVD Manager<br />
SWT folder 'lib\x86_64' does not exist.<br />
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.<br />
</code></p>
<p>This was rubbish as it did exist, and setting ANDROID_SWT in my environment variables didn&#8217;t work either.</p>
<p>Out of sheer desperation, I downloaded the latest SDK tools, deleted my old SDK and installed from scratch.<br />
The latest SDK tools release (revision 3) doesn&#8217;t come with any pre-packaged Android platform, but it does come with a new standalone SDK updater: <code>SDK Setup.exe</code> on Windows.</p>
<p>I initially had the same issue with the new update tool, but unlike previous versions this had the option to force the updater to use HTTP instead of HTTPS. Since the problem was with SSL, I forced it to use HTTP and lo&#8217; and behold, it worked perfectly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisbunney.com/2009/11/01/android-sdk-updater-ssl-peer-shut-down-incorrectly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Work Around for ADB Drivers in x64 Windows XP</title>
		<link>http://www.chrisbunney.com/2009/10/21/work-around-for-adb-drivers-in-x64-windows-xp/</link>
		<comments>http://www.chrisbunney.com/2009/10/21/work-around-for-adb-drivers-in-x64-windows-xp/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 22:22:51 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://www.chrisbunney.com/?p=17</guid>
		<description><![CDATA[How I got a working set of Android ADB drivers for Windows XP x64]]></description>
			<content:encoded><![CDATA[<p>My final year project is a ticket booking system for a mobile device, and I&#8217;ve chosen to target <a href="http://www.android.com/">Android</a> and develop an application for my <a href="http://www.htc.com/www/product/hero/overview.html">HTC Hero</a>.</p>
<p>I followed the set up instructions in my copy of <a href="http://oreilly.com/catalog/9780596521509">Android Application Development</a> (which are pretty much the same as the instructions on the <a href="http://developer.android.com/sdk/1.6_r1/installing.html">Android Dev site</a>), but when I tried to run a simple Hello World type app on my handset I had problems.</p>
<p>I would plug my phone in, as per the instructions, but it wouldn&#8217;t be detected. <a href="http://www.eclipse.org/">Eclipse</a> is supposed to recognise my phone as valid build target and be able to install and run the app on my phone via USB, but it didn&#8217;t.</p>
<p><span id="more-17"></span></p>
<p>To be clear, the phone had debug via USB enabled and apart from not being detected by Eclipse worked fine when mounting the SD card as removable USB storage.</p>
<p>Running ADB from the command line also indicated a problem: I ran <code>adb devices</code> with my phone connected, but no devices were listed.</p>
<p>I already had the most up to date driver from Google, but there seemed to be something wrong.</p>
<p>I found a <a href="http://forum.xda-developers.com/showthread.php?t=532719">guide to installing ADB</a> via Google, and despite doing everything that was suggested, including the instructions in the &#8220;Im not getting a notification of Android ADB when i plug in my USB&#8221; [sic], but nothing changed.</p>
<p>However, I installed <a href="http://www.nirsoft.net/utils/usb_devices_view.html">USBDeview</a> as suggested and looked at the drivers. They all appeared to be present and correct, but I noticed the ADB driver wasn&#8217;t shown as being connected when the phone was plugged in. This further confirmed my suspicion that the problem was dodgy drivers.</p>
<p>Eventually I found a way of getting working drivers installed, although it&#8217;s far from a standard approach. </p>
<p>First you need to use USBDeview to remove the existing drivers. I found there were 3: one with a device name: &#8220;Android Phone&#8221;; another as with no device name but labelled &#8220;ADB Interface&#8221; in the descripton; and another that again had no device name but was described as &#8220;USB Mass Storage Device&#8221;.</p>
<p>Then you need to install <a href="http://www.junefabrics.com/android/index.php">PdaNet for Android</a>, an application that allows you to use your Android phone as a USB modem, which comes with a version of the ADB drivers that work fine for me. </p>
<p>My hunch is that it&#8217;s something to do with me running 64-bit XP (I also cannot install HTC Sync because of issues I think related to XP x64) although why these drivers should work while the official ones don&#8217;t I can&#8217;t imagine. </p>
<p>The drivers are installed when you install the program, and you don&#8217;t need to keep the program installed once the drivers are working, you can remove it and the drivers will remain.</p>
<p>One slightly tricky bit I encountered: When I was installing, XP defaulted to installing the Google drivers that weren&#8217;t working for me. </p>
<p>To get around this, when the PdaNet installer displays a prompt asking you to click yes when the drivers have installed (which may prompt XP to (re)install the Google drivers) go into device manager, find the ADB driver in the list, usually under ADB Interface, and bring up the properties window. Select the update driver option. </p>
<p>This will start the Hardware Update Wizard. Tell Windows not to connect to the internet to search for updates and click next.<br />
On the next screen, select &#8220;Install from a list or specific location&#8221; and click next.<br />
On the screen that follows, select &#8220;Don&#8217;t search. I will choose the driver to install&#8221; and click next.</p>
<p>You will now see a list of available drivers. One will be Google&#8217;s and the other the one we want.<br />
It is labelled HTC Dream Composite ADB Interface. It isn&#8217;t digitally signed, but don&#8217;t worry about that<br />
(Disclaimer: it works for me and I&#8217;ve had no problems so far, but that doesn&#8217;t mean it will definitely work for you)</p>
<p>Now, simply continue with the driver installation, and once the driver installation is complete ADB should work fine. At this point it doesn&#8217;t matter if PdaNet installs correctly or not (something caused it to fail for me, but ADB still works fine)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisbunney.com/2009/10/21/work-around-for-adb-drivers-in-x64-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

