<?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>mobile phones &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/mobile-phones/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>HTML5 geolocation &#8211; What If the User Doesn&#8217;t Share His Position?</title>
		<link>/2010/06/29/html5-geolocation-what-if-the-user-doesnt-share-his-position/</link>
		<comments>/2010/06/29/html5-geolocation-what-if-the-user-doesnt-share-his-position/#respond</comments>
		<pubDate>Tue, 29 Jun 2010 18:29:01 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Free software]]></category>
		<category><![CDATA[FTP clients]]></category>
		<category><![CDATA[Geo]]></category>
		<category><![CDATA[Geolocation]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">/?p=1720</guid>
		<description><![CDATA[HTML5 Geolocation So far we were used to expect something like this from our mobile phones with built-in GPS support. Every image or video clip then was automatically &#8220;tagged&#8221; with latitude &#38; longitude geo data. With HTML5 coming features we discover new cool things we can do with our browsers. Such cool thing is the &#8230; <a href="/2010/06/29/html5-geolocation-what-if-the-user-doesnt-share-his-position/" class="more-link">Continue reading <span class="screen-reader-text">HTML5 geolocation &#8211; What If the User Doesn&#8217;t Share His Position?</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/01/31/speed-up-the-javascript-it-can-change-dramatically-the-user-experience/" rel="bookmark" title="Speed up the JavaScript. It can change dramatically the user experience.">Speed up the JavaScript. It can change dramatically the user experience. </a></li>
<li><a href="/2011/02/04/reading-gps-latitude-and-longitude-from-image-and-video-files/" rel="bookmark" title="Reading GPS Latitude and Longitude from Image and Video Files">Reading GPS Latitude and Longitude from Image and Video Files </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
<li><a href="/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/" rel="bookmark" title="Does Firefox play mp4 h.264 within the HTML5 video tag?">Does Firefox play mp4 h.264 within the HTML5 video tag? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>HTML5 Geolocation</h2>
<p>So far we were used to expect something like this from our mobile phones with built-in GPS support. Every image or video clip then was automatically &#8220;tagged&#8221; with latitude &amp; longitude geo data. With HTML5 coming features we discover new cool things we can do with our browsers. Such cool thing is the geolocation.</p>
<p><a href="/wp-content/uploads/2010/06/geo-location.jpg"><img class="aligncenter size-full wp-image-1726" title="geo-location" src="/wp-content/uploads/2010/06/geo-location.jpg" alt="Geo Location" width="430" height="134" srcset="/wp-content/uploads/2010/06/geo-location.jpg 430w, /wp-content/uploads/2010/06/geo-location-300x93.jpg 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<h2>Support</h2>
<p>As you may guess not every browser is supporting these HTML5 features, but out in the web there is quite good collection of tables comparing different browsers and their support level.</p>
<h2>Firefox</h2>
<p>This &#8211; as expected is a browser that supports this geo tagging. First of all you&#8217;ve to allow your browser to use your geo coordinates, as this can be private information.</p>
<p><a href="/wp-content/uploads/2010/06/browser-geo-location.png"><img class="aligncenter size-full wp-image-1728" title="browser-geo-location" src="/wp-content/uploads/2010/06/browser-geo-location.png" alt="Browser GEO Location" width="430" height="51" srcset="/wp-content/uploads/2010/06/browser-geo-location.png 430w, /wp-content/uploads/2010/06/browser-geo-location-300x35.png 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<p>Once you do it you can access the geo coordinates, which by the way are quite accurate, with JavaScript.</p>
<h2>What if you don&#8217;t share your position?</h2>
<p>What happens if you don&#8217;t want to share your position? Actually I ran in this situation and as my application waited the coordinates &#8211; it was completely blocked.</p>
<p>The examples doesn&#8217;t show you something special. They simply describe how to get the coordinates, but doesn&#8217;t tell you what if the user doesn&#8217;t click on the &#8220;share&#8221; button.</p>
<pre lang="javascript">
if (!!navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(getPos);
}
...

function getPos(position) 
{
    position.coords.latitude;
    position.coords.longitude;
}
</pre>
<p>Of course getPos() can be simply an anonymous function:</p>
<pre lang="javascript">
if (!!navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function(position) {
            position.coords.latitude;
            position.coords.longitude;
        });
}
</pre>
<p>Only the Firefox documentation tells you how to handle errors, simply add one more parameter &#8211; callback, for getCurrentPosition() method:</p>
<pre lang="javascript">
if (!!navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(getPos, onError);
}
...

function getPos(position) 
{
    position.coords.latitude;
    position.coords.longitude;
}

function onError()
{
   // handle error
}
</pre>
<p>Now you know where you don&#8217;t want to be.</p>
<p><a href="/wp-content/uploads/2010/06/map-marker.jpeg"><img src="/wp-content/uploads/2010/06/map-marker.jpeg" alt="Map Marker" title="map-marker" width="430" height="286" class="aligncenter size-full wp-image-1731" srcset="/wp-content/uploads/2010/06/map-marker.jpeg 430w, /wp-content/uploads/2010/06/map-marker-300x199.jpg 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/01/31/speed-up-the-javascript-it-can-change-dramatically-the-user-experience/" rel="bookmark" title="Speed up the JavaScript. It can change dramatically the user experience.">Speed up the JavaScript. It can change dramatically the user experience. </a></li>
<li><a href="/2011/02/04/reading-gps-latitude-and-longitude-from-image-and-video-files/" rel="bookmark" title="Reading GPS Latitude and Longitude from Image and Video Files">Reading GPS Latitude and Longitude from Image and Video Files </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
<li><a href="/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/" rel="bookmark" title="Does Firefox play mp4 h.264 within the HTML5 video tag?">Does Firefox play mp4 h.264 within the HTML5 video tag? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/06/29/html5-geolocation-what-if-the-user-doesnt-share-his-position/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Internet Users are Getting More Important</title>
		<link>/2010/03/18/mobile-internet-users-are-getting-more-important/</link>
		<comments>/2010/03/18/mobile-internet-users-are-getting-more-important/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 08:17:29 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[.mobi]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet Mobile It]]></category>
		<category><![CDATA[Mobile advertising]]></category>
		<category><![CDATA[mobile device]]></category>
		<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile phone]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[Mobile telecommunications]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">/?p=1354</guid>
		<description><![CDATA[Internet Mobile It isn&#8217;t strange that the internet is becoming more and more mobile. When it matters to news sites I think most of the mobile versions are better than the &#8220;desktop&#8221; versions of the site. Take a look at Huffingtonpost.com or LeMonde.fr. Mobile Ads The first thing that makes impression when comparing both mobile &#8230; <a href="/2010/03/18/mobile-internet-users-are-getting-more-important/" class="more-link">Continue reading <span class="screen-reader-text">Mobile Internet Users are Getting More Important</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/22/php-mobile-devices-http_user_agent-strings/" rel="bookmark" title="PHP: Mobile Devices HTTP_USER_AGENT Strings">PHP: Mobile Devices HTTP_USER_AGENT Strings </a></li>
<li><a href="/2010/03/17/stop-coding-iphone-apps-begin-with-html5-mobile-sites/" rel="bookmark" title="Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites">Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites </a></li>
<li><a href="/2010/03/09/php-detecting-mobile-device/" rel="bookmark" title="PHP: detecting mobile device">PHP: detecting mobile device </a></li>
<li><a href="/2010/03/10/change-the-viewport-be-ready-for-the-iphone/" rel="bookmark" title="Change the Viewport, be Ready for the iPhone!">Change the Viewport, be Ready for the iPhone! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Internet Mobile</h2>
<p>It isn&#8217;t strange that the internet is becoming more and more mobile. When it matters to news sites I think most of the mobile versions are better than the &#8220;desktop&#8221; versions of the site. Take a look at <a title="Huffingtonpost" href="http://www.huffingtonpost.com/" target="_blank">Huffingtonpost.com</a> or <a title="Le Monde Fr" href="http://www.lemonde.fr/" target="_blank">LeMonde.fr</a>.</p>
<h2>Mobile Ads</h2>
<p>The first thing that makes impression when comparing both mobile and desktop versions of a site is the layout. Of course the lack of ads on the mobile version, or if not the absolute lack at least the small number of appearing ads, seems to be quite pleasant.</p>
<p>The thing is that as the web grow and as the web 2.0 is becoming a reality most of us will prefer to use it on a mobile device, just because it&#8217;s</p>
<ol>
<li>easier to use</li>
<li>easier to find</li>
<li>easier to follow</li>
</ol>
<p>Here&#8217;s a nice example of what mobile phones are now.<a style="margin: 0 auto;" href="/wp-content/uploads/2010/03/mobile-market-share.gif"><img class="aligncenter size-medium wp-image-1357" title="Mobile Market Share 2010" src="/wp-content/uploads/2010/03/mobile-market-share-300x181.gif" alt="" width="430" height="281" /></a></p>
<p>Now lets take a look on how the mobile web will grow in the near future.</p>
<p><a style="margin: 0 auto;" href="/wp-content/uploads/2010/03/3687.gif"><img class="aligncenter size-full wp-image-1358" title="Mobile Internet Users Chart" src="/wp-content/uploads/2010/03/3687.gif" alt="" width="260" height="200" /></a></p>
<p>That graphics describe quite well what will happen in the upcoming years. Is there now a question: <em><strong>should I make a mobile version of my site?</strong></em></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/22/php-mobile-devices-http_user_agent-strings/" rel="bookmark" title="PHP: Mobile Devices HTTP_USER_AGENT Strings">PHP: Mobile Devices HTTP_USER_AGENT Strings </a></li>
<li><a href="/2010/03/17/stop-coding-iphone-apps-begin-with-html5-mobile-sites/" rel="bookmark" title="Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites">Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites </a></li>
<li><a href="/2010/03/09/php-detecting-mobile-device/" rel="bookmark" title="PHP: detecting mobile device">PHP: detecting mobile device </a></li>
<li><a href="/2010/03/10/change-the-viewport-be-ready-for-the-iphone/" rel="bookmark" title="Change the Viewport, be Ready for the iPhone!">Change the Viewport, be Ready for the iPhone! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/18/mobile-internet-users-are-getting-more-important/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
