<?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>DaveOnCode &#187; mobile</title>
	<atom:link href="http://www.daveoncode.com/category/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daveoncode.com</link>
	<description>coder and technology lover</description>
	<lastBuildDate>Sun, 16 May 2010 16:55:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>My phone is not supported by Flash Lite distributable player :(</title>
		<link>http://www.daveoncode.com/2009/02/17/doh-my-phone-is-not-supported-by-flash-lite-distributable-player/</link>
		<comments>http://www.daveoncode.com/2009/02/17/doh-my-phone-is-not-supported-by-flash-lite-distributable-player/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 08:32:01 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash lite]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[samsung]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=306</guid>
		<description><![CDATA[I was so curious to do some tests that I thought all windows mobile and symbian devices was supported&#8230; however, as I can see, only a small number of mobile phones are compatible with Flash Lite distributable player (23), the full list is here: http://labs.adobe.com/wiki/index.php/Distributable_Player:Supported_Devices I was able to compile a .cab file for my]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-305" title="doh" src="http://www.daveoncode.com/wp-content/uploads/2009/02/doh.jpg" alt="doh" width="201" height="198" />I was so curious to do some tests that I thought all windows mobile and symbian devices was supported&#8230; however, as I can see, only a small number of mobile phones are compatible with Flash Lite distributable player (23), the full list is here: <a href="http://labs.adobe.com/wiki/index.php/Distributable_Player:Supported_Devices" target="_blank">http://labs.adobe.com/wiki/index.php/Distributable_Player:Supported_Devices</a></p>
<p>I was able to compile a .cab file for my Samsung Omnia and then install and launch my test application, however an error message said me &#8220;Flash Lite is not available for this device&#8221;&#8230;. arrrggh!!! I&#8217;m going to buy a second hand Nokia N95 on Ebay, I&#8217;m too curious! :))</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/02/17/doh-my-phone-is-not-supported-by-flash-lite-distributable-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Lite 3.1 Distributable Player for Windows Mobile and Symbian!</title>
		<link>http://www.daveoncode.com/2009/02/16/adobe-flash-lite-31-distributable-player-for-windows-mobile-and-symbian/</link>
		<comments>http://www.daveoncode.com/2009/02/16/adobe-flash-lite-31-distributable-player-for-windows-mobile-and-symbian/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 16:07:50 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash lite]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=299</guid>
		<description><![CDATA[Today Adobe has announced its last creature: Flash Lite distributable player for Windows Mobile and Symbian (the platforms I predicted). We can now use Adobe Mobile Packager to create standalone player for applications, without affecting the Flash Lite browser plug-in or pre-installed standalone player, if present into the device&#8230; so we can distribute executable swf]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-300 aligncenter" title="distributableplayer_workflow" src="http://www.daveoncode.com/wp-content/uploads/2009/02/distributableplayer_workflow.jpg" alt="distributableplayer_workflow" width="520" height="250" /></p>
<p>Today Adobe has announced its last creature: <strong>Flash Lite distributable player</strong> for Windows Mobile and Symbian (the platforms I predicted). We can now use  Adobe Mobile Packager to create standalone player for applications, without affecting the Flash Lite browser plug-in or pre-installed standalone player, if present into the device&#8230; so we can distribute executable swf files that user can open and use on their phone. Flash lite 3.1 now supports Flash player 9 features and security has been improved&#8230; however the bad and sad part is that it still doesn&#8217;t support Actionscript 3 :(</p>
<p>The software can be download from Adobe labs: <a href="http://labs.adobe.com/downloads/distributableplayer.html" target="_blank">http://labs.adobe.com/downloads/distributableplayer.html</a></p>
<p>The official announce from Adobe is here: <a href="http://www.adobe.com/aboutadobe/pressroom/pressreleases/200902/021609FlashLiteDistr.html">http://www.adobe.com/aboutadobe/pressroom/pressreleases/200902/021609FlashLiteDistr.html</a></p>
<p>Furthermore a big context has been launched today: the <strong>Flash Lite Developer Challenge</strong> <a href="http://www.flashlitedeveloperchallenge.com" target="_blank">http://www.flashlitedeveloperchallenge.com</a><br />
with 100.000 $ in prizes!</p>
<p>I&#8217;m quite excited although my <span class="clickable" onclick="dr4sdgryt(event,&quot;Ox&quot;)"><span class="sg"><span class="se1"><span class="trn">disappoint about the missing AS3 support and I&#8217;m going to learn more about this news and experimenting with my device&#8230; and maybe participate to the challenge :)<br />
</span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/02/16/adobe-flash-lite-31-distributable-player-for-windows-mobile-and-symbian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting display&#8217;s orientation change on mobile devices with accelerometer: a platform indipendent approach (n95, i900, iPhone&#8230;) with javascript</title>
		<link>http://www.daveoncode.com/2008/12/15/detecting-displays-orientation-change-on-mobile-devices-with-accelerometer-a-platform-indipendent-approach-n95-i900-iphone-with-javascript/</link>
		<comments>http://www.daveoncode.com/2008/12/15/detecting-displays-orientation-change-on-mobile-devices-with-accelerometer-a-platform-indipendent-approach-n95-i900-iphone-with-javascript/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 13:55:59 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[display orientation]]></category>
		<category><![CDATA[i900]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[n95]]></category>
		<category><![CDATA[opera mobile]]></category>
		<category><![CDATA[samsung omnia]]></category>
		<category><![CDATA[smartphone]]></category>

		<guid isPermaLink="false">http://daveoncode.wordpress.com/?p=144</guid>
		<description><![CDATA[As I wrote, I bought a Samsung i900 Omnia (which as Nokia n95, iPhone and other modern cool mobile phones, has an accelerometer), as a web developer one of the first things that I had in mind was &#8220;how can I detect the orientation change (landscape or portrait mode) with javascript or actionscript?&#8221;. The first]]></description>
			<content:encoded><![CDATA[<p>As I wrote, I bought a Samsung i900 Omnia (which as Nokia n95, iPhone and other modern cool mobile phones, has an accelerometer), as a web developer one of the first things that I had in mind was &#8220;how can I detect the orientation change (landscape or portrait mode) with javascript or actionscript?&#8221;. The first things I thought was:</p>
<ol>
<li>If the display changes its orientation mode, then the screen width and height must will updated with the new size</li>
<li>If the screen width is smaller than screen height, the device must be in &#8220;portrait&#8221; mode</li>
<li>Vice versa, if the screen width is bigger than screen height, the device must be in &#8220;landscape&#8221; mode</li>
<li>The only thing I need is to check the value of screen size and define the orientation mode according to the point 2 and 3</li>
</ol>
<p>And, as I can see, my deductions was right! I<span class="__mozilla-findbar-search" style="background-color:yellow;color:black;display:inline;font-size:inherit;padding:0;"></span> realized a small javascript script, which by using <strong><em>setInterval()</em></strong> function and controlling <strong><em>screen.width</em></strong> and <strong><em>screen.heigth</em></strong> deduces the device orientation mode. Anyway it works actually only with Opera mobile 9.5 (tested only on Samsung Omnia), Internet Explorer Mobile seems unable to interpreting some javascript functions.</p>
<p>This is a piece of my code (the main logic behind):</p>
<pre>if (screen.width != width &amp;&amp; screen.height != height) {
    width = screen.width;
    height = screen.height;
    mode = width &gt; height ? "landscape" : "portrait";
}</pre>
<p>If you would like to test my script go to http://daveoncode.site90.net</p>
<p>Let me know, thanks ;-)</p>
<p>ps. as soon I will understand about flash capability on my device I will try to implement a custom Actionscript event for the orientation&#8230; something like DisplayEvent.DISPLAY_MODE_CHANGE</p>
<p>UPDATE: if you are unable to load  http://daveoncode.site90.net try http://andreacfm.com/dave/ (I have to thanks my friend Andrea Campolonghi for the space)</p>
<p>UPDATE 2: the script works even on Blackberry&#8217;s browser (as someone told me) :)</p>
<p>UPDATE 3: it works even on HTC devices (at this point the only problem is internet explorer mobile&#8230; I will investigate!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2008/12/15/detecting-displays-orientation-change-on-mobile-devices-with-accelerometer-a-platform-indipendent-approach-n95-i900-iphone-with-javascript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
