<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Gaunt Face | Matthew Gaunt</title>
	<atom:link href="http://www.gauntface.co.uk/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gauntface.co.uk/blog</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:03:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by Matt</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-635</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 03 Feb 2012 20:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-635</guid>
		<description>Hi Nick,

All in all I&#039;d say your approach makes perfect sense.

The only comments I would make are the following:

It would seem as though the notification image doesn&#039;t have much correlation to the GPS chips use. But this is only going off of what Reto had said with regards to proximity alerts.

If I were to use proximity alerts and I could afford the time to spend on it, I would likely pull the source code from Android and implement a slightly custom version of proximity alerts. 

What you also need to take into account is the power to start and stop the GPS chip as you mentioned above.

Good luck and let me know how you get on.

Cheers,
Matt</description>
		<content:encoded><![CDATA[<p>Hi Nick,</p>
<p>All in all I&#8217;d say your approach makes perfect sense.</p>
<p>The only comments I would make are the following:</p>
<p>It would seem as though the notification image doesn&#8217;t have much correlation to the GPS chips use. But this is only going off of what Reto had said with regards to proximity alerts.</p>
<p>If I were to use proximity alerts and I could afford the time to spend on it, I would likely pull the source code from Android and implement a slightly custom version of proximity alerts. </p>
<p>What you also need to take into account is the power to start and stop the GPS chip as you mentioned above.</p>
<p>Good luck and let me know how you get on.</p>
<p>Cheers,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by Nick</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-634</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 31 Jan 2012 18:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-634</guid>
		<description>I was interested to read your comments about the GPS icon which suggested to me that the icon doesn&#039;t reflect the on/off state of the GPS chip? When I set a proximity alert miles away from my current position the icon never goes off on my phone even when network location is enabled, so I don&#039;t see much sign of &#039;efficiency&#039; or adaptive behaviour on the part of the OS.

On a similar topic, I have found that on my Gingerbread phone, when requesting location updates, the two (min_update_distance and min_update_time) arguments make no difference to the GPS state as shown by the icon - it just runs full bore all the time. I ended up writing a service with an IBinder which takes a &#039;sleep time&#039; and a &#039;required accuracy&#039; parameter. Once the accuracy criterion is satisfied it removes the update requests, turns the GPS off and sleeps until the period is up.  It sends the locations to the activities via a broadcast (they have the broadcastreceivers).This seems to give much better battery life than the proprietary apps like ubiquitous Google&#039;s Maps app. 

I&#039;m wondering whether I should adopt a similar approach for proximities? I.e. just have a List of locations and distances to trigger the alerts in a service and if you have network location on and it tells you you&#039;re 10 miles away, don&#039;t bother turning on the GPS, when you get near one start sending broadcasts

I&#039;d appreciate your thoughts on the idea,

Regards

Nick</description>
		<content:encoded><![CDATA[<p>I was interested to read your comments about the GPS icon which suggested to me that the icon doesn&#8217;t reflect the on/off state of the GPS chip? When I set a proximity alert miles away from my current position the icon never goes off on my phone even when network location is enabled, so I don&#8217;t see much sign of &#8216;efficiency&#8217; or adaptive behaviour on the part of the OS.</p>
<p>On a similar topic, I have found that on my Gingerbread phone, when requesting location updates, the two (min_update_distance and min_update_time) arguments make no difference to the GPS state as shown by the icon &#8211; it just runs full bore all the time. I ended up writing a service with an IBinder which takes a &#8216;sleep time&#8217; and a &#8216;required accuracy&#8217; parameter. Once the accuracy criterion is satisfied it removes the update requests, turns the GPS off and sleeps until the period is up.  It sends the locations to the activities via a broadcast (they have the broadcastreceivers).This seems to give much better battery life than the proprietary apps like ubiquitous Google&#8217;s Maps app. </p>
<p>I&#8217;m wondering whether I should adopt a similar approach for proximities? I.e. just have a List of locations and distances to trigger the alerts in a service and if you have network location on and it tells you you&#8217;re 10 miles away, don&#8217;t bother turning on the GPS, when you get near one start sending broadcasts</p>
<p>I&#8217;d appreciate your thoughts on the idea,</p>
<p>Regards</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by Matt</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-629</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 15 Jan 2012 19:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-629</guid>
		<description>That is something I have not looked into (The original source code was a side project of a piece of coursework with a tight deadline).

However I imagine it is achieved in a similar fashion to cancelling an alarm, so perhaps best to look for an example of that and see if the same can be achieved for Proximity alerts.</description>
		<content:encoded><![CDATA[<p>That is something I have not looked into (The original source code was a side project of a piece of coursework with a tight deadline).</p>
<p>However I imagine it is achieved in a similar fashion to cancelling an alarm, so perhaps best to look for an example of that and see if the same can be achieved for Proximity alerts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by Navya Ramesan</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-628</link>
		<dc:creator>Navya Ramesan</dc:creator>
		<pubDate>Fri, 13 Jan 2012 11:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-628</guid>
		<description>How do i delete a particular alarm alone?</description>
		<content:encoded><![CDATA[<p>How do i delete a particular alarm alone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by matt</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-621</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 29 Dec 2011 16:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-621</guid>
		<description>Yeah that should be fine, just look for the boolean extra added by the LocationManager.

Documentation Here: &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#addProximityAlert(double, double, float, long, android.app.PendingIntent)&quot; rel=&quot;nofollow&quot;&gt;Android Location Manager&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Yeah that should be fine, just look for the boolean extra added by the LocationManager.</p>
<p>Documentation Here: <a href="http://developer.android.com/reference/android/location/LocationManager.html#addProximityAlert(double, double, float, long, android.app.PendingIntent)" rel="nofollow">Android Location Manager</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by coollearner</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-617</link>
		<dc:creator>coollearner</dc:creator>
		<pubDate>Wed, 28 Dec 2011 13:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-617</guid>
		<description>Hi! this is a nice tutorial. Beginning to learn about proximity in android. I just would like to clarify if the phone approaches the boundary into the proximity it will fire the intent and once it move out of the boundary (the phone moves in and moves out of the boundary) it will fire another intent. Is that correct? I&#039;m thinking if i can use this so that in the code i will set a coordinate which is along the road and i&#039;ll set a radius so that while driving with my phone, once i enter the radius of the location, the phone will fire an intent (in this case will send its latitude and longitude continuously to a server) and once it passess though the coverage of the radiu, it will stop sending to the server. Is that possible to have two different intents?</description>
		<content:encoded><![CDATA[<p>Hi! this is a nice tutorial. Beginning to learn about proximity in android. I just would like to clarify if the phone approaches the boundary into the proximity it will fire the intent and once it move out of the boundary (the phone moves in and moves out of the boundary) it will fire another intent. Is that correct? I&#8217;m thinking if i can use this so that in the code i will set a coordinate which is along the road and i&#8217;ll set a radius so that while driving with my phone, once i enter the radius of the location, the phone will fire an intent (in this case will send its latitude and longitude continuously to a server) and once it passess though the coverage of the radiu, it will stop sending to the server. Is that possible to have two different intents?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on LastMinute.com &#8211; Nokia &#8211; Qt &#8211; Me by Jack O'Connor</title>
		<link>http://www.gauntface.co.uk/blog/2011/11/30/lastminute-com-nokia-qt-me/#comment-142</link>
		<dc:creator>Jack O'Connor</dc:creator>
		<pubDate>Fri, 02 Dec 2011 11:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/blog/?p=977#comment-142</guid>
		<description>Congratulations Matt - this is great.</description>
		<content:encoded><![CDATA[<p>Congratulations Matt &#8211; this is great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How-To: Multiple Proximity Alerts in Android by Gaunt Face &#124; Matthew Gaunt &#124; Proximity Alerts in Android</title>
		<link>http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/#comment-106</link>
		<dc:creator>Gaunt Face &#124; Matthew Gaunt &#124; Proximity Alerts in Android</dc:creator>
		<pubDate>Wed, 30 Nov 2011 22:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=800#comment-106</guid>
		<description>[...] I&#8217;ve just made a full example of the code here &#8211; http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/     Android &#8211; Handling Screen Rotation    Gaunt Face &#124; Matthew Gaunt - Home    MapView with [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ve just made a full example of the code here &#8211; <a href="http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/" rel="nofollow">http://www.gauntface.co.uk/blog/2010/12/28/how-to-multiple-proximity-alerts-in-android/</a>     Android &#8211; Handling Screen Rotation    Gaunt Face | Matthew Gaunt &#8211; Home    MapView with [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Android Headset &#8211; Full Example by Gaunt Face &#124; Matthew Gaunt &#124; Using Android Headset Buttons (Earphone Buttons)</title>
		<link>http://www.gauntface.co.uk/blog/2011/02/13/android-headset-full-example/#comment-105</link>
		<dc:creator>Gaunt Face &#124; Matthew Gaunt &#124; Using Android Headset Buttons (Earphone Buttons)</dc:creator>
		<pubDate>Wed, 30 Nov 2011 22:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/pages/blog/?p=818#comment-105</guid>
		<description>[...] I&#8217;ve uploaded a full example on my github page, for details see: http://www.gauntface.co.uk/blog/2011/02/13/android-headset-full-example/     Another Look At The Courier    Gaunt Face &#124; Matthew Gaunt - Home    What I&#8217;ll Have in a [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ve uploaded a full example on my github page, for details see: http://www.gauntface.co.uk/blog/2011/02/13/android-headset-full-example/     Another Look At The Courier    Gaunt Face | Matthew Gaunt &#8211; Home    What I&#8217;ll Have in a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proximity Alerts in Android by Gaunt Face &#124; Matthew Gaunt &#124; How-To: Multiple Proximity Alerts in Android</title>
		<link>http://www.gauntface.co.uk/blog/2010/01/04/proximity-alerts-in-android/#comment-104</link>
		<dc:creator>Gaunt Face &#124; Matthew Gaunt &#124; How-To: Multiple Proximity Alerts in Android</dc:creator>
		<pubDate>Wed, 30 Nov 2011 22:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.gauntface.co.uk/blog/?p=387#comment-104</guid>
		<description>[...] http://www.gauntface.co.uk/blog/2010/01/04/proximity-alerts-in-android/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.gauntface.co.uk/blog/2010/01/04/proximity-alerts-in-android/" rel="nofollow">http://www.gauntface.co.uk/blog/2010/01/04/proximity-alerts-in-android/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

