<?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>Doccie</title>
	<atom:link href="http://www.pieterhelsen.be/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pieterhelsen.be/blog</link>
	<description>Awesoming the crap out of Flash, Flex and Mobile</description>
	<lastBuildDate>Sun, 12 Jul 2009 21:14:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Packaging your Flash Lite content</title>
		<link>http://www.pieterhelsen.be/blog/2009/07/packaging-your-flash-lite-content/</link>
		<comments>http://www.pieterhelsen.be/blog/2009/07/packaging-your-flash-lite-content/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 21:10:10 +0000</pubDate>
		<dc:creator>doccie</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[flash lite]]></category>

		<guid isPermaLink="false">http://www.pieterhelsen.be/blog/?p=11</guid>
		<description><![CDATA[Back in the early days of Flash Lite, there were very few options for getting your content onto a user&#8217;s mobile phone. Pretty much the only option was to put your .swf file directly onto the user&#8217;s phone. Luckily for us, now there are a lot of very good alternatives, that allow for a much [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the early days of Flash Lite, there were very few options for getting your content onto a user&#8217;s mobile phone. Pretty much the only option was to put your .swf file directly onto the user&#8217;s phone. Luckily for us, now there are a lot of very good alternatives, that allow for a much better user experience. Here are a few options.</p>
<p><strong>WRT Widgets<br />
</strong>WRT stands for Web Runtime and is a type of widget supported by a large number of S60 phones (3rd and 5th generation). A WRT widget consists of, at the very least, an .html or .swf file and a .plist file, packed into a .zip file and been renamed to .wgz. For more on WRT widgets, visit <a title="Forum Nokia - How to package Flash content in a Widget" href="http://wiki.forum.nokia.com/index.php/How_to_package_Flash_content_in_a_Widget" target="_blank">Forum Nokia</a>.</p>
<p>The benefits of WRT widgets are that they are easy to develop, easy to package and easy to deploy. The problem with Flash content packaged as a WRT widget however, is that it basically runs Flash Player embedded in a webpage/widget, which means that you lose out on a lot of Flash Lite&#8217;s capabilities, like mapping softkeys, going into fullscreen mode or interacting with the accelerometer or sensors in your device. In order to achieve this, you need Javascript to act as a communication layer between flash and the device, which is usually far from ideal.</p>
<p><strong>SWFPack<br />
</strong>A far better solution is being offered by the good people at <a href="http://www.kunerilite.net/" target="_blank">Kuneri</a>, who have created a web service called <a title="SWFPack - Flash Lite packaging service" href="http://www.swfpack.com/create.html" target="_blank">SWFPack</a>. SWFPack allows you to submit a single .swf or .zip file, and returns a signed .SIS (for Symbian phones), or .NFL (for S40 phones) file (support for .CAB files is in the pipeline). SWFPack is easy to use, cross-platform and doesn&#8217;t have the drawbacks of packaging your content as a WRT widget. This makes SWFPack the best option in my opinion.</p>
<p><strong>Others</strong><br />
And last but not least, there are a few other packaging solutions out there that are worth mentioning, but don&#8217;t come close to the ease-of-use of SWFPack.</p>
<ul>
<li><a href="http://labs.adobe.com/downloads/distributableplayer.html" target="_blank">Adobe Package Manager</a> &#8211; A good effort by Adobe,  unfortunately, it has so many dependencies that it takes a good deal of time just to get the packager installed. On the plus side, this one does support .CAB files.</li>
<li><a href="http://developer.sonyericsson.com/site/global/newsandevents/latestnews/newsjuly08/p_projectcapuchin_packagingtool_swf2jar.jsp" target="_blank">SWF2JAR</a> &#8211; Again, not as easy to use as SWFPack, SWF2JAR outputs a .jar file, but unfortunately is not compatible with that many devices.</li>
<li><a href="http://www.i2tecnologia.com.br/jarpa/" target="_blank">JARPA</a>- Another .JAR packager, unfortunately this project is no longer supported and therefore, does not work with S60 5th generation phones. Thomas Joos did write an excellent <a href="http://vilebody.wordpress.com/category/jarpa/" target="_blank">getting started guide</a> for it.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pieterhelsen.be/blog/2009/07/packaging-your-flash-lite-content/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Undocumented FSCommand2</title>
		<link>http://www.pieterhelsen.be/blog/2009/07/undocumented-fscomman/</link>
		<comments>http://www.pieterhelsen.be/blog/2009/07/undocumented-fscomman/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 20:34:02 +0000</pubDate>
		<dc:creator>doccie</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[flash lite]]></category>

		<guid isPermaLink="false">http://www.pieterhelsen.be/blog/?p=1</guid>
		<description><![CDATA[I&#8217;ve been working on a small mobile Flash Lite application the last few days and though I&#8217;ve made several mobile applications in the past, it amazes me how much has changed in these few years. Not only have possibilities become far more advanced, the community has also grown tremendously. Especially the community over at Forum [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a small mobile <strong>Flash Lite</strong> application the last few days and though I&#8217;ve made several mobile applications in the past, it amazes me how much has changed in these few years. Not only have possibilities become far more advanced, the community has also grown tremendously. Especially the community over at <a title="Forum Nokia - Driving Innovation for Mobile App Developers" href="http://www.forum.nokia.com/" target="_blank">Forum Nokia</a>. Be sure to check that one out if you&#8217;re just getting started with mobile development, it has a lot of valuable resources and a discussion board that will see your questions answered in no time.</p>
<p><img class="aligncenter size-medium wp-image-15" title="softkeys_portrait" src="http://www.pieterhelsen.be/blog/wp-content/uploads/2009/07/softkeys_portrait1-300x199.jpg" alt="softkeys_portrait" width="300" height="199" /></p>
<p>But back to my most recent problem; whenever I ran my application in fullscreen mode and slid the phone closed (I was working with Nokia&#8217;s N97), I got an incredibly ugly on-screen <strong>softkeys emulator</strong>. After a lot of searching, I discovered that there is an FSCommand that is not covered in the <a href="http://help.adobe.com/en_US/FlashLite/2.0_FlashLiteAPIReference2/index.html" target="_blank">Flash Lite language reference</a>. The line of code below goes into the first frame of your application and effectively prevents the emulator from popping up.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">FSCommand2<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;DisableKeypadCompatibilityMode&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>I hope this saves some people some time searching.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pieterhelsen.be/blog/2009/07/undocumented-fscomman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
