<?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>krishnaraj varma&#039;s blog &#187; Symbian</title>
	<atom:link href="http://www.krvarma.com/category/posts/symbian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krvarma.com</link>
	<description></description>
	<lastBuildDate>Sun, 31 Oct 2010 15:47:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Retrieving GPS data from Internal GPS receiver using Python for Series 60</title>
		<link>http://www.krvarma.com/2008/08/retrieving-gps-data-from-internal-gps-receiver-using-python-for-series-60/</link>
		<comments>http://www.krvarma.com/2008/08/retrieving-gps-data-from-internal-gps-receiver-using-python-for-series-60/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 13:25:18 +0000</pubDate>
		<dc:creator>Krishnaraj Varma</dc:creator>
				<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://www.krvarma.com/?p=18</guid>
		<description><![CDATA[Using PyS60 we can retrieve GPS data either from Bluetooth receiver or Internal GPS receiver. There are many examples describing how to receive data from Bluetooth receiver. But there are only little information about using the Internal GPS receiver which in present in some of the Nokia handsets (N95, N82, etc…). I wrote a small [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Using PyS60 we can retrieve GPS data either from Bluetooth receiver or Internal GPS receiver. There are many examples describing how to receive data from Bluetooth receiver. But there are only little information about using the Internal GPS receiver which in present in some of the Nokia handsets (N95, N82, etc…). I wrote a small PyS60 script to retrieve GPS data using internal receiver.</p>
<p>To receive the GPS data we use the <b>positioning</b> module. The position module has many methods to select the receiver module, request the service, retrieve the GPS data, etc… Here is the script to retrieve the data. Copy this script to a file and upload to Python folder of your phone and use the Python Shell to run the script. Please note that you should have a signed version of the Python Shell with Location capability in order to run this script, otherwise you will receive and error.</p>
<p><code>import positioning</p>
<p>print "Sample script to display GPS data, by Krishnaraj Varma"<br />
print ""<br />
print "Default Module:"<br />
print positioning.default_module()<br />
print ""<br />
positioning.select_module(positioning.default_module())<br />
print "Detailed Module Info:"<br />
print ""<br />
print positioning.module_info(positioning.default_module())<br />
print "GPS Data:"<br />
print ""<br />
positioning.set_requestors([{"type":"service","format":"application","data":"test_app"}])<br />
print positioning.position(course=1,satellites=1)<br />
print ""<br />
print ""</code></p>
<p>On my Nokia N82 phone the output is:</p>
<p><i>Sample script to display GPS data, by Krishnaraj Varma</p>
<p>Default Module:<br />
270526858</p>
<p>Detailed Module Info:</p>
<p>{&#8216;available&#8217;: 1, &#8216;status&#8217;: {&#8216;data_quality&#8217;: 0, &#8216;device_status&#8217;: 3}, &#8216;version&#8217;: u&#8217;1.00(0)&#8217;, &#8216;name&#8217;: u&#8217;Integrated GPS&#8217;, &#8216;position_quality&#8217;: {&#8216;vertical_accuracy&#8217;: 10.0, &#8216;time_to_first_fix&#8217;: 1000000L, &#8216;cost&#8217;: 1, &#8216;time_to_next_fix&#8217;: 1000000L, &#8216;horizontal_accuracy&#8217;: 10.0, &#8216;power_consumption&#8217;: 3}, &#8216;technology&#8217;: 1, &#8216;id&#8217;: 270526858, &#8216;capabilities&#8217;: 127, &#8216;location&#8217;: 1}</p>
<p>GPS Data:<br />
{&#8216;satellites&#8217;: {&#8216;horizontal_dop&#8217;: 4.59999990463257, &#8216;used_satellites&#8217;: 6, &#8216;vertical_dop&#8217;: 5.23999977111816, &#8216;time&#8217;: 1217662454.07, &#8216;satellites&#8217;: 9, &#8216;time_dop&#8217;: 4.28999996185303}, &#8216;position&#8217;: {&#8216;latitude&#8217;: 9.761066878452, &#8216;altitude&#8217;: NaN, &#8216;vertical_accuracy&#8217;: NaN, &#8216;longitude&#8217;: 76.326954522858, &#8216;horizontal_accuracy&#8217;: 70.6172790527344}, &#8216;course&#8217;: {&#8216;speed&#8217;: 0.5, &#8216;heading&#8217;: 242.5, &#8216;heading_accuracy&#8217;: 359.989990234375, &#8216;speed_accuracy&#8217;: 1.11000001430511}}</i></p>
<p>For more information about <b>positioning</b> module, visit <a href="http://discussion.forum.nokia.com/forum/showpost.php?p=406936&#038;postcount=2">this discussion </a>about the module. This script is only tested on my Nokia N82 handset</p>
<p>One application I am working on is to display the real time GPS position using Google Map. The idea is to retrieve the data at specified interval and send the longitude and  latitude information to this site and display it using Google Map API. I will update when it is finished.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krvarma.com/2008/08/retrieving-gps-data-from-internal-gps-receiver-using-python-for-series-60/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Web Server</title>
		<link>http://www.krvarma.com/2008/04/4/</link>
		<comments>http://www.krvarma.com/2008/04/4/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 15:51:13 +0000</pubDate>
		<dc:creator>Krishnaraj Varma</dc:creator>
				<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://www.krvarma.com/?p=4</guid>
		<description><![CDATA[I have another website http://varma.mymobilesite.net. This is running on my mobile (Nokia N82). Normally this will be up and running during day time. To access this site you need an account. Those who are interested send a mail to varma AT krvarma DOT com and I will be happy to create one for you. If [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I have another website http://varma.mymobilesite.net. This is running on my mobile (Nokia N82). Normally this will be up and running during day time.</p>
<p>To access this site you need an account. Those who are interested send a mail to varma AT krvarma DOT com and I will be happy to create one for you.</p>
<p>If you have a Series 60 mobile phone, you can also host a website on your mobile. To do this:<br />
1. Register at mymobilesite.net (it&#8217;s free)<br />
2. Download and install the Webserver application<br />
3. Make necessary changes to the website.</p>
<p>The Webserver application is a Symbian port of the Apache webserver by Nokia Research Lab. Another interesting project of Nokia Research Lab is PAMP (Personal Apache MySQL PHP). Using this you can create database web applications in PHP. For this you should have good amount of free memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krvarma.com/2008/04/4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

