<?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>blackcj.com</title>
	<atom:link href="http://www.blackcj.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blackcj.com/blog</link>
	<description>Cutting edge development with Adobe Flex, ActionScript and AIR</description>
	<lastBuildDate>Thu, 15 Dec 2011 01:01:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Detect Pen Tablet Pressure using an AIR Native Extension</title>
		<link>http://www.blackcj.com/blog/2011/12/14/detect-pen-tablet-pressure-with-the-air-3-native-extension/</link>
		<comments>http://www.blackcj.com/blog/2011/12/14/detect-pen-tablet-pressure-with-the-air-3-native-extension/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 00:40:27 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[FlashBuilder]]></category>
		<category><![CDATA[AIR 3]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1132</guid>
		<description><![CDATA[This native extension allows you to detect the input pressure of compatible pen tablet devices. This post includes a video demo of the code running on the Eee Slate and a downloadable ANE that you can use without installing Visual Studio. Problem: A big thanks to the Magical Hobo for creating the c++ code for [...]]]></description>
			<content:encoded><![CDATA[<p>This native extension allows you to detect the input pressure of compatible pen tablet devices. This post includes a video demo of the code running on the Eee Slate and a downloadable ANE that you can use without installing Visual Studio.</p>
<p><strong>Problem:</strong><br />
A big thanks to the Magical Hobo for creating the c++ code for this. The only problem is that the code was built in debug mode and requires Visual Studio and the MSVCP100D.dll. Great for people who want to dive into the c++ code but it adds a lot of upfront time in getting everything setup.</p>
<p><strong>Solution:</strong><br />
After downloading the project from GitHub, removing all debug dependencies and re-building in release mode, the ANE was ready for use without Visual Studio. If you&#8217;d like the full c++ source, checkout the Magical Hobo&#8217;s source on <a href="http://blog.magicalhobo.com/2011/10/01/air-3-native-extension-example-pentablet/">GitHub</a>. </p>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/F1PDjaNU8ig" frameborder="0" allowfullscreen></iframe></p>
<p><strong>More information on Adobe Native Extensions:</strong><br />
<a href="http://www.adobe.com/devnet/air/native-extensions-for-air.html">http://www.adobe.com/devnet/air/native-extensions-for-air.html</a></p>
<p><strong>Link to original c++ source code by the Magical Hobo:</strong><br />
<a href="http://blog.magicalhobo.com/2011/10/01/air-3-native-extension-example-pentablet/">http://blog.magicalhobo.com/2011/10/01/air-3-native-extension-example-pentablet/</a></p>
<p><strong>How do you know if your device can detect pressure?</strong><br />
Open up PhotoShop, select a brush, click on the pressure sensitivity icon and start drawing. If PhotoShop can detect the sensitivity than you should be good to go. </p>
<p><strong>Requirements:</strong><br />
> Touch sensitive capable device.<br />
> Windows OS<br />
> Flash Builder 4.6<br />
> AIR 3.1</p>
<p><strong>Download the ANE:</strong><br />
<a href="http://www.blackcj.com/blog/wp-content/swfs/PenTabletLib.ane">http://www.blackcj.com/blog/wp-content/swfs/PenTabletLib.ane</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/12/14/detect-pen-tablet-pressure-with-the-air-3-native-extension/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPad, Eee Slate and PlayBook Comparison</title>
		<link>http://www.blackcj.com/blog/2011/12/12/ipad-eee-slate-and-playbook-comparison/</link>
		<comments>http://www.blackcj.com/blog/2011/12/12/ipad-eee-slate-and-playbook-comparison/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 16:52:38 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[PlayBook]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Tablet]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1110</guid>
		<description><![CDATA[The iPad 2 is a great entertainment device but it&#8217;s too big to carry around with a laptop and isn&#8217;t powerful enough to replace a laptop. This is were the Eee Slate comes in handy. It&#8217;s light enough to use on the sofa and powerful enough to completely replace a laptop. The biggest downside to [...]]]></description>
			<content:encoded><![CDATA[<p>The iPad 2 is a great entertainment device but it&#8217;s too big to carry around with a laptop and isn&#8217;t powerful enough to replace a laptop. This is were the Eee Slate comes in handy. It&#8217;s light enough to use on the sofa and powerful enough to completely replace a laptop. The biggest downside to the device is it&#8217;s less than average battery life. I don&#8217;t mind plugging it in but if you&#8217;re planning to be on the device all day without power, that would definitely be a deal breaker.</p>
<p>Last but not least, the PlayBook (or any 7&#8243; tablet really). Tablets at this size are much better for portability compared to the 10&#8243; &#038; 12&#8243; tablets. Reading books on the go, playing games and general web browsing are the best uses. When I&#8217;m on the go and don&#8217;t need a laptop, the 7&#8243; inch tablet in my device of choice.</p>
<p>In the future, it would be great to see a device that is the best of both worlds. If I could dock my iPad and switch it over to OS X, that would dramatically increase the usefulness of the device. The same goes for my Eee Slate, it would be great to have a more battery conscious OS while on the go and run full Windows 7 when docked. So far, Windows 8 is the only thing on the horizon that looks promising in this respect. Lets hope they don&#8217;t mess that up!</p>
<p>Without further delay, let&#8217;s take a look at the feature rundown of these three devices:</p>
<div id="container" style="width: 505px; margin: 20px; padding: 10px; box-shadow: 0px 0px 15px #000; background-color: #333;">
<table>
<thead>
<tr>
<th></th>
<th class="iron"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/12/ipad2.jpg" alt="iPad 2" /></th>
<th class="nightster"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/12/asus.jpg" alt="Harley Davidson Nightster" /></th>
<th class="fortyeight"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/12/playbook.jpg" alt="Harley Davidson Forty-Eight" /></th>
</tr>
<tr>
<th></th>
<th class="iron">
<h2 style="font-size: 18px; font-weight: bold; color: #fff;">iPad 2</h2>
</th>
<th class="nightster">
<h2 style="font-size: 18px; font-weight: bold; color: #fff;">Asus Eee Slate</h2>
</th>
<th class="fortyeight">
<h2 style="font-size: 18px; font-weight: bold; color: #fff;">PlayBook</h2>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="feature">Cost</td>
<td class="iron">$499*</td>
<td class="nightster">$1049</td>
<td class="fortyeight">$299</td>
</tr>
<tr>
<td class="feature">RAM</td>
<td class="iron">1GB</td>
<td class="nightster">4GB</td>
<td class="fortyeight">1GB</td>
</tr>
<tr>
<td class="feature">Memory</td>
<td class="iron">16GB</td>
<td class="nightster">64GB</td>
<td class="fortyeight">16GB</td>
</tr>
<tr>
<td class="feature">Included Accessories</td>
<td class="iron">Charging Cable</td>
<td class="nightster">BT Keyboard, Leather Case, Charging Cable</td>
<td class="fortyeight">Charging Cable, Glove Case</td>
</tr>
<tr>
<td class="feature">Operating System</td>
<td class="iron">iOS 5</td>
<td class="nightster">Windows 7</td>
<td class="fortyeight">QNX</td>
</tr>
<tr>
<td class="feature">Input</td>
<td class="iron">Touch</td>
<td class="nightster">Pen + Touch</td>
<td class="fortyeight">Touch</td>
</tr>
<tr>
<td class="feature">Touch Friendly OS</td>
<td class="iron">Yes</td>
<td class="nightster">Mediocre<br />
<em>(Taps mimic mouse.)</em></td>
<td class="fortyeight">Yes</td>
</tr>
<tr>
<td class="feature">Pen Friendly OS</td>
<td class="iron">No</td>
<td class="nightster">Yes</td>
<td class="fortyeight">No</td>
</tr>
<tr>
<td class="feature">Battery Life</td>
<td class="iron">8 hours</td>
<td class="nightster">4 hours</td>
<td class="fortyeight">8 hours</td>
</tr>
<tr>
<td class="feature">Amazon Rating</td>
<td class="iron">4.2 stars</td>
<td class="nightster">4.2 stars</td>
<td class="fortyeight">4.0 stars</td>
</tr>
<tr>
<td class="feature">Open Market</td>
<td class="iron">No</td>
<td class="nightster"><strong>Yes</strong></td>
<td class="fortyeight">No</td>
</tr>
<tr>
<td class="feature">Screen Size</td>
<td class="iron">10 inch</td>
<td class="nightster">12 inch</td>
<td class="fortyeight">7 inch</td>
</tr>
<tr>
<td class="feature">Ports</td>
<td class="iron">Audio</td>
<td class="nightster">Mini HDMI, 2x USB, Audio, SD</td>
<td class="fortyeight">Audio, Micro HDMI</td>
</tr>
<tr>
<td class="feature">Mouse Enabled</td>
<td class="iron">No</td>
<td class="nightster">Yes</td>
<td class="fortyeight">Select Bluetooth Mice</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<p>*Keep in mind the 64GB iPad with keyboard, DVI adapter, leather case and warranty ends up being $886.</p>
<h3>What do I use the Eee Slate for?</h3>
<p>> Primary computing device for work<br />
> Adobe Creative Suite, word processing, Amazon onDemand, web applications&#8230;<br />
> Complete laptop replacement</p>
<h3>Eee Slate complaints?</h3>
<p>> The OS could be much more touch intuitive (hopefully Widows 8 will help with this)<br />
> No docking station</p>
<h3>What do I use the iPad for?</h3>
<p>> Testing apps<br />
&gt; Listening to Pandora via Bluetooth on my stereo<br />
&gt; Multi-player games like marbles<br />
&gt; Writing down quick notes</p>
<h3>iPad complaints:</h3>
<p>&gt; Lack of iPad specific apps &#8211; most are for iPhone<br />
&gt; Bluetooth is hidden too deep in the menu</p>
<h3>What do I use the PlayBook for?</h3>
<p>> Testing apps<br />
&gt; Reading books on Kobo<br />
&gt; Playing single player games<br />
&gt; Taking pictures / video on the go</p>
<h3>PlayBook complaints:</h3>
<p>&gt; Lack of killer apps like Pandora and Kindle. The browser almost makes up for this but falls a bit short.<br />
&gt; Can&#8217;t connect to most bluetooth devices</p>
<p>What do you use your tablet for? Does your device collect dust in the corner or does it get regular use?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/12/12/ipad-eee-slate-and-playbook-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Games Development by Example</title>
		<link>http://www.blackcj.com/blog/2011/10/01/html5-games-development-by-example/</link>
		<comments>http://www.blackcj.com/blog/2011/10/01/html5-games-development-by-example/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 20:10:38 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[Myth]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1101</guid>
		<description><![CDATA[This book by Packt Publishing has a very promising title. It pulls the reader in quickly with an exciting opening paragraph that reads: &#8220;HTML5 promises to be the hot new platform for online games. HTML5 games work on computers, smartphones, and tablets – including iPhones and iPads. Be one of the first developers to build [...]]]></description>
			<content:encoded><![CDATA[<p>This book by Packt Publishing has a very promising title. It pulls the reader in quickly with an exciting opening paragraph that reads:</p>
<p><em>&#8220;HTML5 promises to be the hot new platform for online games. <strong>HTML5 games work on computers, smartphones, and tablets – including iPhones and iPads.</strong> Be one of the first developers to build HTML5 games today and be ready for tomorrow!&#8221;</em></p>
<p>That&#8217;s cool! You mean it&#8217;s actually possible to build a game that works well in the browser and on an iPad? Well, surprisingly enough, according to this book the answer is <strong>NO</strong>. Out of the 9 code examples, only one of them even rendered on my iPad 2. The game that worked on my iPad was technically done in CSS3 and also looks very bad on my Android. The book has some great examples and if you&#8217;re looking to build HTML5 games for desktop browsers, I would recommend it. If you&#8217;re looking to build HTML5 games for mobile devices, stay away from this one.</p>
<p>What the publisher and many people fail to realize is that HTML5 does NOT equal mobile. I haven&#8217;t seen a single HTML5 page that&#8217;s looked good across devices. Not a single one. SlideShare recently converted their entire site to &#8220;HTML5&#8243; &#8211; according to the marketing team. A quick look at the doctype on the page reveals&#8230; wait for it, XHTML! Marketers are sucking the life out of a buzzword and lying through the teeth about it. </p>
<p>When every example of HTML5 either has horrible cross browser support, doesn&#8217;t render on mobile devices or isn&#8217;t actually HTML5, I wonder what the web has come to. Has everyone decided it&#8217;s just easier to lie to clients, the general public and fellow developers? Or are the stakeholders so blind to technology that they insist on something that doesn&#8217;t even exist? Is it really so terrible to maintain a mobile version of your website along side a desktop version?</p>
<p>Rather than trying to make radical predictions and promises about the future of the web, maybe we should try educating clients about new technologies. Instead of shoving a round peg into a square hole, let&#8217;s create the solution that best fits the business needs. Lying today is only going to give technology a bad reputation in the future and hurt clients in the long run. It&#8217;s sad when an otherwise good book is poisoned by lies from the marketing team.</p>
<p>Here is a link to the book:<br />
<a href="http://www.packtpub.com/html5-games-development-using-css-javascript-beginners-guide/book" target="_blank">HTML5 Games Development by Example</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/10/01/html5-games-development-by-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR Mobile User Group</title>
		<link>http://www.blackcj.com/blog/2011/09/07/air-mobile-user-group/</link>
		<comments>http://www.blackcj.com/blog/2011/09/07/air-mobile-user-group/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 22:38:08 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1097</guid>
		<description><![CDATA[Are you interested in cross platform mobile development with AIR? Join us next Tuesday, September 13 at 7:00pm to get the inside scoop on AIR mobile development from community members in the Twin Cities. Speakers will include Danny Patterson, Andrew Charon and Chris Black with more to be announced. We&#8217;ll be running through our real [...]]]></description>
			<content:encoded><![CDATA[<p>Are you interested in cross platform mobile development with AIR? Join us next Tuesday, September 13 at 7:00pm to get the inside scoop on AIR mobile development from community members in the Twin Cities. Speakers will include Danny Patterson, Andrew Charon and Chris Black with more to be announced. We&#8217;ll be running through our real world applications talking about the challenges of mobile development. There will be plenty of Q/A and open discussion.</p>
<p><strong>What?</strong> AIR Mobile User Group<br />
<strong>When?</strong> Tuesday, September 13th from 7-9pm<br />
<strong>Where?</strong> Zeus Jones in Uptown, Minneapolis</p>
<p>We&#8217;ll have free pizza at the meeting and a social hour after the meeting at the Bulldog in Uptown. Please RSVP by posting a comment to this thread or on the Facebook MN.swf group. If all goes well, we&#8217;ll be meeting up every month to discuss a new mobile topic. Future topics include:</p>
<p>>Mobile Arduino integration<br />
>Performance optimizations<br />
>AIR 3.0 features<br />
>Marketing and monetization of apps<br />
>Building mobile games with AIR<br />
>Multi-screen developmen<br />
>And more&#8230;</p>
<p>Don&#8217;t miss out on this opportunity to learn about mobile development with AIR. With version 3.0 around the corner, cross platform development is going to continue to grow!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/09/07/air-mobile-user-group/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash is Alive and Kicking, FITC Toronto Highlights</title>
		<link>http://www.blackcj.com/blog/2011/06/19/flash-is-alive-and-kicking-fitc-toronto-highlights/</link>
		<comments>http://www.blackcj.com/blog/2011/06/19/flash-is-alive-and-kicking-fitc-toronto-highlights/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 17:12:28 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[PlayBook]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1053</guid>
		<description><![CDATA[Interested in what devices support mobile AIR? Want to know how to keep your PlayBook app running in the background? Are you in the market for a $2,750 Tron watch? In this post I&#8217;ll share the highlights from FITC Toronto 2011. Being the first conference since AIR 2.6 and the launch of the PlayBook there [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in what devices support mobile AIR? Want to know how to keep your PlayBook app running in the background? Are you in the market for a $2,750 Tron watch? In this post I&#8217;ll share the highlights from  FITC Toronto 2011. Being the first conference since AIR 2.6 and the launch of the PlayBook there was plenty of great information to go around.</p>
<p><strong>The Venue</strong><br />
Before we jump into the tech tips, I wanted to mention that this was the coolest venue I&#8217;ve ever been to for a conference. They rented out a huge night club and transformed dance floors and lounges into speaker rooms. Cotton candy and popcorn were available at all times. A few shots from the event:</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/05/Pano2.jpg"><img class="size-large wp-image-1055 aligncenter" title="Guvernment Club" src="http://www.blackcj.com/blog/wp-content/uploads/2011/05/Pano2-1024x537.jpg" alt="Guvernment Club" width="476" height="250" /></a><br />
<em>Click the image to enlarge.</em></p>
<p><strong>The PlayBook</strong><br />
Both Julian Dolce and Rajeev Messand uncovered some great tips and tricks for PlayBook development. First, Julian discussed how to use the Throttle mode to keep your application running in the background. This is key for anyone playing music, tracking GPS or that need background services running. He also talked about how to tap into the system media to ensure sound stops when another application (like a YouTube video) starts playing audio.</p>
<p>Rajeev talked about creating applications using Flash / HTML5 with Webworks. Did you know the BAR extension is really just a ZIP file? You can extract the contents to ensure your application has been signed correctly and to adjust meta data if needed. Another great he mentioned is to navigate the file structure by typing file:/// in the web browser. It&#8217;s an interesting little trick to find out whats on your machine.</p>
<p><strong>Adobe AIR</strong><br />
I skipped out on the keynote but caught the tail end of Lee Brimelow&#8217;s talk and attended a full session on devices with Renaun Erickson. Adobe was really pushing both Molehill and multi-platform development. They had a 3D demo running on the first generation Galaxy Tab showing that Flash truly rocks on mobile devices without taxing the battery or processor. Renaun outlined the full road map for Flash / AIR on all platforms. His presentation is definitely worth embedding here:</p>
<div style="width:425px" id="__ss_7669250"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/renaun/digital-fun-for-the-digital-home" title="Digital Fun for the Digital Home">Digital Fun for the Digital Home</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/7669250" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/renaun">Renaun Erickson</a> </div>
</p></div>
<p><strong>Brass Monkey</strong><br />
Chris Allen showed off some really cool games including a Star Wars 3D shooter and Smuggle Truck err&#8230; Snuggle Truck for mobile devices. The best part? When connected up to a computer, the games turned into controllers that could be used to play the desktop version! This is some seriously cool shit. The mobile applications are built natively in iOS and Android with the desktop receiver is built using Unity 3D. Both the Unity plugin and an ActionScript version are coming soon. Check out the demos on the Brass Monkey website and download Snuggle Truck for your iPhone today!</p>
<p><a href="http://www.brassmonkeysdk.com/"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/05/starwars_home.png" alt="" title="starwars_home" width="480" height="250" class="alignnone size-full wp-image-1070" /></a></p>
<p><strong>Flash Video and Lazy Programming</strong><br />
Robert Reinhardt did a great job comparing HTML5 and Flash video. As he mentioned many times throughout his presentation, HTML5 has a ways to go. Lack of captioning, full screen, DRM and codec support leave much to be desired of the new video tag. Luckily there is still plenty of time for the specs to be finalized. For now, only use HTML5 for simple video and use Flash when you need more.</p>
<p>Lazy programming was about how to be efficient so that you&#8217;re working less and enjoying it more. Key tips were to use tools to assist in programming, don&#8217;t fix every bug and always have a scope doc. Phillip Kerman concluded with comedy show on his handbill delivery system. Make sure to ask him for one the next time you see him.</p>
<p><strong>Missed Sessions</strong><br />
A notable mention to the session that I wanted to see was Trainyard: a Flash Dev&#8217;s Journey to App Store Success with Matt Rix. I hope that Matt presents at a future conference so I can check that session out!</p>
<p><strong>Conclusion</strong><br />
This was one of the best conferences I&#8217;ve been to in a while. Sessions were top notch with lots of new material, the event was great for networking and overall it was a blast.</p>
<p>Until next year!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/06/19/flash-is-alive-and-kicking-fitc-toronto-highlights/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile Optimizations with Adobe AIR</title>
		<link>http://www.blackcj.com/blog/2011/06/19/mobile-optimizations-with-adobe-air/</link>
		<comments>http://www.blackcj.com/blog/2011/06/19/mobile-optimizations-with-adobe-air/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 17:06:24 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1075</guid>
		<description><![CDATA[Squeeze some extra frames per second out of your app with some basic optimizations. In many cases your target device will have a 1Ghz processor and less then 100Mb of available ram. Trying to utilize more processing power or RAM than this will lead to erratic app behavior and in many cases will cause the [...]]]></description>
			<content:encoded><![CDATA[<p>Squeeze some extra frames per second out of your app with some basic optimizations. In many cases your target device will have a 1Ghz processor and less then 100Mb of available ram. Trying to utilize more processing power or RAM than this will lead to erratic app behavior and in many cases will cause the application to crash.</p>
<h3>Blitting &#8211; Moving Bitmaps</h3>
<p>Attempting to move display objects around during transitions can be very slow and choppy. Moving Bitmaps is much faster and can provide a smooth animation. When using this technique there are two things to consider; speed and memory.</p>
<p><strong>Speed</strong><br />
Creating BitmapData from a DisplayObject is CPU intensive. Your user will notice even a fraction of a second delay in a transition. One solution to this is to predict where the user will go and store the BitmapData up front. For example, you know the first page they will hit after the splash screen is the login page. While the user is on the splash screen take a snap shot of the login page. Once they&#8217;ve arrive at a new view, take a snap shot of the previous and next views. </p>
<p><strong>Memory</strong><br />
BitmapData is expensive. Caching to much BitmapData is the fastest way to slow down and crash your app. Make sure to call destroy on any unused BitmapData or re-use the same two or three instances. Another technique is to use a matrix to take a picture of the screen at half the resolution. You save both processing power and memory when doing this. During transitions on a device with high DPI this is often un-noticed by the user.</p>
<p>How much memory are you using? Use the profiler in Flash Builder to check for leaks and check out Memory Doctor on the iOS store. Version 5 of iOS is said to include app memory monitoring as well.</p>
<p>More information on blitting can be found on Jesse Freeman&#8217;s blog: http://flash.developerartofwar.com/</p>
<h3>CPU vs GPU</h3>
<p>There are plenty of sites that explain the precise difference between these two rendering modes. In the end how should you decide? Guess and check. With AIR 2.7 increasing the performance of CPU on iOS by 4 times, I&#8217;ve found that many of my apps perform better and use less memory with CPU.</p>
<p>Run your app with one than check the other. I found that before 2.7, my app ran better with CPU mode for Android and Blackberry but faster in GPU mode on iOS. Now that 2.7 is out, it runs better with CPU on all three. Selecting GPU mode can cause the application to consume as much as twice the memory. My app used 100Mb of memory in GPU mode and only 56Mb in CPU mode.</p>
<h3>Avoid Transparency Like the Plague</h3>
<p>Changing the alpha on display objects will significantly cut the performance of your app. Keep everything at 100% alpha and minimize the number of transparent PNGs you use. Similar to alpha, adding filters to your display objects will also decrease performance and increase memory usage. Is that drop shadow, beveled, semi-transparent text really worth it?</p>
<h3>Destroy Your Display Objects</h3>
<p>This part gets complicated. It can be beneficial to re-use display objects rather than re-creating them, for example in a list control. One thing to keep in mind is that these controls consume lots of memory. Keeping a ScrollPane, List, Grid and Picker around in memory all at once will crash your app. Re-use instances when possible but never keep around expensive components when your done with them.</p>
<p>There are plenty more optimizations that you can make in the world of mobile. The list above is what got me through my latest app for a client. Flex Hero handles some of the transitions and memory management for you and with AIR 2.7 it performs quite well. Please post any additional optimizations you&#8217;ve found helpful when building mobile apps with AIR.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/06/19/mobile-optimizations-with-adobe-air/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Detailed Review of the PlayBook (Including Videos)</title>
		<link>http://www.blackcj.com/blog/2011/04/23/detailed-review-of-the-playbook-including-videos/</link>
		<comments>http://www.blackcj.com/blog/2011/04/23/detailed-review-of-the-playbook-including-videos/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 20:01:10 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[Myth]]></category>
		<category><![CDATA[PlayBook]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1019</guid>
		<description><![CDATA[Skeptical about the PlayBook? In this review we&#8217;ll size up the new BlackBerry PlayBook and show of some videos of the device in action. Leaving you with the opportunity to make your own decision by highlighting both the pros and cons. Despite what some people would have you believe, there is no one device that [...]]]></description>
			<content:encoded><![CDATA[<p>Skeptical about the PlayBook? In this review we&#8217;ll size up the new BlackBerry PlayBook and show of some videos of the device in action. Leaving you with the opportunity to make your own decision by highlighting both the pros and cons. Despite what some people would have you believe, there is no one device that fits everyone&#8217;s needs. Before purchasing this tablet, I tried out the iPad2, the Motorola Xoom, the PlayBook and the Galaxy Tab. This review will get you started but I&#8217;d recommend trying each device before shelling out the cash.</p>
<p><strong>Overview:</strong><br />
The PlayBook is a 7 inch tablet that has a great browser and specs that compare with many of the other current generation tablets. The operating system is fast, responsive and hasn&#8217;t crashed once in the four days I&#8217;ve had the device. Task management is made simple and I really like how easy it is to switch between apps shut down an app. After using this device for even just a few minutes the gestures felt natural. I picked up a Xoom the next day and wanted to use the swipe gestures to navigate.</p>
<h3>Video Demo: High Level Overview</h3>
<p><iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/emUTLtgiBK8" frameborder="0" allowfullscreen></iframe></p>
<h3>Video Demo: Games</h3>
<p><iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/aIU8VJIgEEQ" frameborder="0" allowfullscreen></iframe></p>
<h3>Video Demo: The Keyboard</h3>
<p><iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/0JczXp6Je1k" frameborder="0" allowfullscreen></iframe></p>
<p><strong>The Good:</strong><br />
>Swipe gestures and multi-tasking actually feel like a tablet rather than a big phone<br />
>The operating system is fast<br />
>Full web browsing is great with both Flash and HTML5<br />
>Over the AIR updates (approx 245 MB) that finish in under 30 minutes<br />
>Battery life is great, even when viewing lots of Flash content in the web<br />
>My preferred size is 7 inches for a tablet, on the bus I use my thumbs to type on the keyboard<br />
>The web browsing experience is great, you don&#8217;t need a million apps with a browser like this<br />
>Mirco HDMI out and micro USB port</p>
<p><strong>The Bad:</strong><br />
>I tried connecting a Bluetooth stereo gateway and mouse with no luck<br />
>Light boxes in HTML content don&#8217;t always play well with the keyboard<br />
>The power button is hard to push, you won&#8217;t ever accidentally turn this thing on&#8230;<br />
>Apps that force orientation change can be frustrating<br />
>No removable battery<br />
>Maximum timeout is 5 minutes</p>
<h3>Getting Started:</h3>
<p>First thing after turning the device on, it does an over the air update which takes about 30 min depending on your wifi connection speed. After the update there is a brief tutorial on how to use the swipe gestures followed by a form where you must enter an e-mail and password to create an app world account. After you create an account with your e-mail the device is ready to go.</p>
<p>When you plug the device into your computer for the first time it will show up as a CD Rom drive. How cool is that? Just run the auto run, install the drivers, re-plug the device and it&#8217;s recognized as a tablet with full file system access. Don&#8217;t have a computer? That&#8217;s fine. They PlayBook works out of the box without needing a computer. Don&#8217;t want to supply your credit card? That&#8217;s fine too. I&#8217;ve been downloading free apps and using the device without ever giving credit card info. When you want to purchase an app you have the option to use PayPal as well. The getting started experience was much better than Android and iOS which both require a credit card.</p>
<h3>Power / Battery Life:</h3>
<p>I was using the device quite frequently over a 48 hour period before having to charge it. The device is rated at 10 hours of continual use and has many power options that assist with customizing the device on performance vs. battery life. There are two options that are missing, the ability to set the screen timeout past 5 minutes and the ability to play music from the browser when the screen turns off. The built in music player will play with the screen off but music playing in the browser stops when the screen times out (after 5 minutes). I&#8217;d imagine this is fairly easy to fix on RIM&#8217;s part, hopefully we&#8217;ll see a solution for this in a future OS release. For now, you&#8217;ll have to stick with the built in music player or tap your device every 5 minutes when playing Pandora in the browser.</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000011.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000011-300x175.jpg" alt="" title="Power Settings" width="300" height="175" class="aligncenter size-medium wp-image-1021" /></a></p>
<p><em>Notice: The tablet will not charge via standard USB while the device is on. Batteries in all tablets have a much higher drain than phones and a much higher capacity (5300mAh vs 1200mAh). Since USB only supplies a max of 500mA the charge rate is slower than the consumption rate of the device. Basically it would be like trying to charge your laptop via USB, which you&#8217;d never expect to be able to do. Charge the device while it&#8217;s on is the supplied 5V, 1.8A charger or try using a high powered USB port.</em></p>
<h3>The App World:</h3>
<p>The App World is very easy to navigate and has what I would consider a large amount of apps for a new to market device. The apps range in quality but there are definitely a number of great apps in the market already. Apps range in size from 1MB (Doodle Blast) to 343MB (Need for Speed). The update process is simple and easy.</p>
<p>Many of the base applications like Twitter and Gmail are in the browser right now instead of in an app. I actually prefer this. The JavaScript and Flash rendering on the device is great. I was able to navigate and write an entire blog post using WordPress in the browser on the device. Aside from light boxes acting a little goofy, web browsing is the way to go for apps that you might be missing. When I can play games, watch tv and check my mail in the browser, why do I need an app for that? </p>
<p>The one app / webpage that is missing right now is Netflix. They use Silverlight which isn&#8217;t supported on the PlayBook and they don&#8217;t have an app. Every other webpage I frequent works great.</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000012.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000012-300x175.jpg" alt="" title="AppWorld" width="300" height="175" class="aligncenter size-medium wp-image-1020" /></a></p>
<h3>Swipe Gestures / Multi-tasking:</h3>
<p>After trying out an iPad2 and Xoom, the PlayBook felt the most like a tablet. Why is that? Mostly due to the swipe gestures and multi-tasking. I know the iPad2 has 5 finger gestures to navigate apps and both have multi-tasking. The PlayBook just makes it really easy to visualize your apps. This is one is going to be more of a personal preference and something you&#8217;ll have to experience for yourself. </p>
<p>When you hold a PlayBook, swipe up from the bottom black bar to pull up your apps, swipe from the left and right black bars to navigate your apps, swipe in from the top left corner to pull down the status bar and down from the top black bar for the app specific settings. There is a great, quick tutorial on this when you turn the device on. Once you used the PlayBook for a few minutes you&#8217;ll be trying to use swipes on every other tablet you hold.</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000013.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000013-300x175.jpg" alt="" title="IMG_00000013" width="300" height="175" class="aligncenter size-medium wp-image-1029" /></a></p>
<h3>The Keyboard:</h3>
<p>Using the keyboard while riding the bus is easy as all of the keys are accessible easily while holding the device with two hands. Bring up (or close) the keyboard at anytime by swiping in from the bottom left corner. Tap and hold a key to bring up alternate characters. It is possible to type on the keyboard with all fingers while in landscape mode but I would only do it for short periods of time. Typing lengthy articles on any touch screen device is a pain. I&#8217;ve read that you are able to attach a Bluetooth keyboard to the device but haven&#8217;t been able to test that yet.</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000016.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000016-300x175.jpg" alt="" title="PlayBook Keyboard" width="300" height="175" class="aligncenter size-medium wp-image-1037" /></a></p>
<p><strong>What BlackBerry Needs to Fix:</strong><br />
>Better light box support in the browser with the keyboard<br />
>A complete set of Bluetooth drivers for common peripherals (stereo gateway)<br />
>Music in the browser should play when the screen is off<br />
>Allow apps to force orientation but don&#8217;t update the actual swipe orientation until the device is turned</p>
<p><strong>Summary:</strong><br />
This is a very solid device and is my preference when compared to the iPad2 and Xoom. I would recommend trying out all tablets before you make a decision. To me, the iPod touch is the least intuitive device I own. To others, the iPod is very intuitive. There is no single device that meets everyone&#8217;s needs. Try them all and buy the one that suites you. </p>
<p>Enjoy!</p>
<p><strong>Keyboard comparison:</strong><br />
<a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_3952.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_3952-247x300.jpg" alt="" title="Playbook Keyboard compared to the phone" width="247" height="300" class="aligncenter size-medium wp-image-1040" /></a></p>
<p><strong>My devices:</strong><br />
<a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_3953.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_3953-300x207.jpg" alt="" title="All devices" width="300" height="207" class="aligncenter size-medium wp-image-1041" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/04/23/detailed-review-of-the-playbook-including-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Requesting Permissions for your PlayBook App</title>
		<link>http://www.blackcj.com/blog/2011/04/21/requesting-permissions-for-your-playbook-app/</link>
		<comments>http://www.blackcj.com/blog/2011/04/21/requesting-permissions-for-your-playbook-app/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 13:57:50 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[PlayBook]]></category>
		<category><![CDATA[BlackBerry]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=1007</guid>
		<description><![CDATA[Does your PlayBook app use local storage, camera roll, media sound or other device APIs? If so, you must add action requests in your blackberry-tablet.xml file when publishing your BAR file for these features to work on the device. Problem: The camera roll in my painting application worked with the virtual machine (0.9.4 SDK) but [...]]]></description>
			<content:encoded><![CDATA[<p>Does your PlayBook app use local storage, camera roll, media sound or other device APIs? If so, you must add action requests in your blackberry-tablet.xml file when publishing your BAR file for these features to work on the device.</p>
<p><strong>Problem:</strong><br />
The camera roll in my painting application worked with the virtual machine (0.9.4 SDK) but didn&#8217;t work on the actual device. </p>
<p><strong>Solution:</strong><br />
I added acess_shared to my blackberry-tablet.xml file and the camera roll worked great. The device prompts on first run notifying the user of which permissions you requested, similar to how Android works.</p>
<p>BlackBerry has a list of actions documented here:<br />
<a href="http://docs.blackberry.com/en/developers/deliverables/23959/Overview_1352483_11.jsp#Accessing_secure_APIs_1524628_11">http://docs.blackberry.com/en/developers/deliverables/23959/Overview_1352483_11.jsp#Accessing_secure_APIs_1524628_11</a></p>
<p>Here is a photo of items added to my camera roll:<br />
<a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000003.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000003-300x175.jpg" alt="" title="IMG_00000003" width="300" height="175" class="aligncenter size-medium wp-image-1008" /></a></p>
<p>Stay tuned for a full video review of the PlayBook coming this week.</p>
<p><em>Blog post created on my PlayBook</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/04/21/requesting-permissions-for-your-playbook-app/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Your Signed App onto the PlayBook</title>
		<link>http://www.blackcj.com/blog/2011/04/19/installing-your-signed-app-onto-the-playbook/</link>
		<comments>http://www.blackcj.com/blog/2011/04/19/installing-your-signed-app-onto-the-playbook/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 22:43:06 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[PlayBook]]></category>
		<category><![CDATA[BlackBerry]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=989</guid>
		<description><![CDATA[You can send your signed app to the BlackBerry PlayBook using blackberry-dploy. This makes it easy to test final builds without having to setup debugging certificates. We&#8217;ll talk about debug certificates in a later post, let&#8217;s get our app onto the device! Problem: You want to test your signed application on the device before submitting [...]]]></description>
			<content:encoded><![CDATA[<p>You can send your signed app to the BlackBerry PlayBook using blackberry-dploy. This makes it easy to test final builds without having to setup debugging certificates. We&#8217;ll talk about debug certificates in a later post, let&#8217;s get our app onto the device!</p>
<p><strong>Problem:</strong><br />
You want to test your signed application on the device before submitting it to the app world or setting up the debug certificate. The PlayBook browser doesn&#8217;t currently support the BAR extension (hopefully this will change).</p>
<p><strong>Solution:</strong><br />
Use the blackberry-deploy command to send your signed BAR file directly to the device. Before doing this you&#8217;ll need to put your device in developer mode.</p>
<p><em>To put your PlayBook in developer mode</em> go into the device settings (top right corner) and select Security. Click on the Development Mode button and select to enable it. Here&#8217;s the tricky part, to actually get this working I needed to reboot the device and go back into the settings and re-enable development mode. This might have just been a fluke but worth mentioning. After doing this the developer icon showed up on the home screen along with my device ip address (see image).</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000002.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/IMG_00000002.jpg" alt="" title="Developer Mode" width="550" height="322" class="aligncenter size-full wp-image-990" /></a></p>
<p>Connect the device up to your machine using the usb cable, open a command prompt in the SDK bin folder and run the following command:</p>
<p>>blackberry-deploy -installApp -device DEVICE_IP -password DEV_PASSWORD yourappname.bar</p>
<p>You will have to put the full path to your BAR if it&#8217;s not in the bin directory.</p>
<p><a href="http://www.blackcj.com/blog/wp-content/uploads/2011/04/Untitled-2.jpg"><img src="http://www.blackcj.com/blog/wp-content/uploads/2011/04/Untitled-2.jpg" alt="" title="BlackBerry Deploy" width="580" height="172" class="aligncenter size-full wp-image-991" /></a></p>
<p>After running that command my signed application was on the device and ready to go. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/04/19/installing-your-signed-app-onto-the-playbook/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iOS, Android and BlackBerry in a Single Click with ANT</title>
		<link>http://www.blackcj.com/blog/2011/04/04/ios-android-and-blackberry-in-a-single-click-with-ant/</link>
		<comments>http://www.blackcj.com/blog/2011/04/04/ios-android-and-blackberry-in-a-single-click-with-ant/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 22:43:34 +0000</pubDate>
		<dc:creator>Chris Black</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[FlashBuilder]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[PlayBook]]></category>

		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=977</guid>
		<description><![CDATA[***Update: Use package.blackberry OR install.blackberry when running the ANT task, using both will overwrite the BAR file and remove signing. Verify your BAR is signed by renaming it from app.bar to app.zip, extract and ensure you have META-INF/AUTHOR.EC and META-INF/RDK.EC included in the zip.*** Create your market ready AIR apps for iOS, Android and the [...]]]></description>
			<content:encoded><![CDATA[<p>***Update: Use package.blackberry OR install.blackberry when running the ANT task, using both will overwrite the BAR file and remove signing. Verify your BAR is signed by renaming it from app.bar to app.zip, extract and ensure you have META-INF/AUTHOR.EC and META-INF/RDK.EC included in the zip.***</p>
<p>Create your market ready AIR apps for iOS, Android and the BlackBerry PlayBook in a single click using the same code. This ANT task compiles, signs and pushes out to attached devices (iOS requires dragging into iTunes). All of the signed apps created with this ANT task can be published to the market.</p>
<p><strong>Overview:</strong><br />
The AIR 2.6 SDK is great but doesn't have full Flash Builder support yet. This ANT task can be used in Flash Builder, Flash Develop, FDT or even the command line. Using Flash Develop, you can create apps for all devices without paying for expensive software!</p>
<p><strong>Pre-requisites:</strong><br />
You will need to install Flash Builder Burrito, the BlackBerry PlayBook SDK, the AIR 2.6 SDK and acquire signing keys for all three devices. If using Flash Develop, you will need to follow some additional steps for ANT integration. You'll also want to download the base project from Google Code: <a href="http://code.google.com/p/air-mobile-tools/" target="_blank">http://code.google.com/p/air-mobile-tools/</a></p>
<p><strong>Video Tutorial:</strong><br />
<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/XzQLn_hj8ZI" frameborder="0" allowfullscreen></iframe></p>
<p>Wiki:<br />
The wiki on Google code contains more information on getting started with this base project: <a href="http://code.google.com/p/air-mobile-tools/wiki/BaseMobileActionScriptProject" target="_blank">http://code.google.com/p/air-mobile-tools/wiki/BaseMobileActionScriptProject</a></p>
<p><strong>ANT Task:</strong></p>
<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-3">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">"UTF-8"</span>?<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">MIT License:</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">Copyright (c) 2010 Christopher Black</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">Resources:</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">http://www.terrenceryan.com/blog/post.cfm/using-ant-to-package-the-same-air-app-to-multiple-devices</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">http://technophi.com/2011/03/08/using-ant-to-compile-a-flex-mobile-project-for-ios/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">--&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;project</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"Box2D"</span> <span style="color: #000066;">default</span>=<span style="color: #ff0000;">"main"</span> <span style="color: #000066;">basedir</span>=<span style="color: #ff0000;">"."</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"environment"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"local"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;property</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"settings.properties"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Path to the Flex task libraries. --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"flextasks.classpath"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${FLEX_HOME}/ant/lib"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"*.jar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/fileset<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/path<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;typedef</span> <span style="color: #000066;">resource</span>=<span style="color: #ff0000;">"flexTasks.tasks"</span> <span style="color: #000066;">classpathref</span>=<span style="color: #ff0000;">"flextasks.classpath"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Add dependencies here (android, blackberry, apple) or uninstall.blackberry --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"main"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"android, blackberry, apple"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"android"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"prepPackage, package.android, install.android"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Use package.blackberry OR install.blackberry, using both will overwrite the .bar file and remove signing. --&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"blackberry"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"prepPackage, package.blackberry"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"apple"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"prepPackage, package.apple"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"clean"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Cleaning Build Space"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;delete</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"prepPackage"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"compile,handleDevices"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"compile"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"clean"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Compiling swf"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mxmlc</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${projectFile}"</span> <span style="color: #000066;">output</span>=<span style="color: #ff0000;">"${swfFile}"</span> <span style="color: #000066;">optimize</span>=<span style="color: #ff0000;">"true"</span> <span style="color: #000066;">configname</span>=<span style="color: #ff0000;">"airmobile"</span> <span style="color: #000066;">debug</span>=<span style="color: #ff0000;">"false"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;load</span>-config <span style="color: #000066;">filename</span>=<span style="color: #ff0000;">"${FLEX_HOME}/frameworks/airmobile-config.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;source</span>-path <span style="color: #000066;">path-element</span>=<span style="color: #ff0000;">"${FLEX_HOME}/frameworks"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;static</span>-link-runtime-shared-libraries <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;compiler</span>.library-path <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${FLEX_HOME}/frameworks"</span> <span style="color: #000066;">append</span>=<span style="color: #ff0000;">"true"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"libs/*"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/compiler</span>.library-path<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;compiler</span>.library-path <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${basedir}/libs"</span> <span style="color: #000066;">append</span>=<span style="color: #ff0000;">"true"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"*"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/compiler</span>.library-path<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mxmlc<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Create Android directory. --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"collect.android"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Creating device folder for Android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mkdir</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying SWF for Android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${cert.dir}/androidcert.p12"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/android"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${swfFile}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/android"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying Application Description File for Android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${dev.dir}/${app.name}-app.xml"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/android"</span> <span style="color: #000066;">preservelastmodified</span>=<span style="color: #ff0000;">"true"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/android/assets"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${dev.dir}/assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/copy<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Modifying application description file"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replace</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${build.dir}/android/${app.name}-app.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replacefilter</span> <span style="color: #000066;">token</span>=<span style="color: #ff0000;">"${contentText}"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/replace<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Create BlackBerry directory. --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"collect.blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Creating Device Folder for BlackBerry"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mkdir</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying SWF for BlackBerry"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${swfFile}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${cert.dir}/${bb.cert}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying Application Description File for BlackBerry"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${dev.dir}/${app.name}BlackBerry-app.xml"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span> <span style="color: #000066;">preservelastmodified</span>=<span style="color: #ff0000;">"true"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${dev.dir}/blackberry-tablet.xml"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span> <span style="color: #000066;">preservelastmodified</span>=<span style="color: #ff0000;">"true"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry/assets"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${dev.dir}/assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/copy<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Modifying application description file"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replace</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${build.dir}/blackberry/${app.name}BlackBerry-app.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replacefilter</span> <span style="color: #000066;">token</span>=<span style="color: #ff0000;">"${contentText}"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/replace<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Create Apple directory. --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"collect.apple"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Creating device folder for apple"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mkdir</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying SWF for Apple"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${swfFile}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${cert.dir}/${apple.cert}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${cert.dir}/${apple.provision}"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Copying Application Description File for Apple"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${dev.dir}/${app.name}Apple-app.xml"</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span> <span style="color: #000066;">preservelastmodified</span>=<span style="color: #ff0000;">"true"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;copy</span> <span style="color: #000066;">todir</span>=<span style="color: #ff0000;">"${build.dir}/apple/assets"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${dev.dir}/assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/copy<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Modifying Application Description File"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replace</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">"${build.dir}/apple/${app.name}Apple-app.xml"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;replacefilter</span> <span style="color: #000066;">token</span>=<span style="color: #ff0000;">"${contentText}"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/replace<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"handleDevices"</span> <span style="color: #000066;">depends</span>=<span style="color: #ff0000;">"collect.android, collect.blackberry, collect.apple"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"package.android"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Packaging for Android ${cert}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${ADT}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/android"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-package"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-target apk"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storetype pkcs12"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-keystore ${cert}"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storepass ${cert.password}"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}-app.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"package.blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Packaging for BlackBerry"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${BBPackager}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-package"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.bar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}BlackBerry-app.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"blackberry-tablet.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${BBSigner}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-verbose"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-cskpass ${bb.cert.password}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-keystore ${bb.cert}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storepass ${bb.store.password}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.bar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"RDK"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${BBSigner}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-keystore ${bb.cert}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storepass ${bb.store.password}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.bar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"author"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"package.apple"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${ADT}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/apple"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-package -target '${apple.target}'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-provisioning-profile '${apple.provision}'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storetype pkcs12"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-keystore '${apple.cert}'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-storepass '${apple.cert.password}'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"'${app.name}.ipa'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"'${apple.descriptor}'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"'${app.name}.swf'"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"assets"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"install.android"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Uninstalling attached Android Device"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${ADT}"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-uninstallApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-platform android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-appid '${app.name}'"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Installing onto attached Android Device"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${ADT}"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-installApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-platform android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-package '${build.dir}/android/${app.name}.apk'"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Launching on attached Android Device"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${ADT}"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-launchApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-platform android"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">"-appid '${app.name}'"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"uninstall.blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Uninstalling from Blackberry VM"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${BBDeploy}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-uninstallApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-device"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${bb.ip}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-password"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${bb.password}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-package"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.bar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"install.blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;echo</span> <span style="color: #000066;">message</span>=<span style="color: #ff0000;">"Installing onto Blackberry VM"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">"${BBPackager}"</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">"${build.dir}/blackberry"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-package"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.bar"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-installApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-launchApp"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}BlackBerry-app.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"blackberry-tablet.xml"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${app.name}.swf"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-device"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${bb.ip}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"-password"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"${bb.password}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"assets"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/target<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/project<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">flex.<span style="color: #006600;">path</span> = C:/Program Files <span style="color: #66cc66;">&#40;</span>x86<span style="color: #66cc66;">&#41;</span>/Adobe/Flash Builder Burrito/Adobe Flash Builder Burrito/sdks</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">flex.<span style="color: #006600;">sdkVersion</span>= <span style="color: #cc66cc;color:#800000;">4</span>.<span style="color: #cc66cc;color:#800000;">5</span>.<span style="color: #cc66cc;color:#800000;">0</span>_air</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">flex.<span style="color: #006600;">sdkPath</span>= $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">path</span><span style="color: #66cc66;">&#125;</span>/$<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">sdkVersion</span><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">FLEX_HOME= $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">sdkPath</span><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">BB_HOME = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">path</span><span style="color: #66cc66;">&#125;</span>/blackberry-tablet-sdk-<span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">9</span>.<span style="color: #cc66cc;color:#800000;">4</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">contentText = <span style="color: #66cc66;">&#91;</span><span style="color: #0066CC;">This</span> value will be overwritten by Flash Builder <span style="color: #b1b100;">in</span> the output app.<span style="color: #0066CC;">xml</span><span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ADB = C:/Users/Chris/Desktop/Froyo/android-sdk-windows/platform-tools/adb.<span style="color: #006600;">exe</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ADT = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">sdkPath</span><span style="color: #66cc66;">&#125;</span>/bin/adt.<span style="color: #006600;">bat</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">adt.<span style="color: #006600;">path</span> = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">sdkPath</span><span style="color: #66cc66;">&#125;</span>/bin/</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">IPHONE_PACKAGER = adt</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">BBDeploy = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">path</span><span style="color: #66cc66;">&#125;</span>/blackberry-tablet-sdk-<span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">9</span>.<span style="color: #cc66cc;color:#800000;">4</span>/bin/blackberry-deploy.<span style="color: #006600;">bat</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">BBPackager = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">path</span><span style="color: #66cc66;">&#125;</span>/blackberry-tablet-sdk-<span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">9</span>.<span style="color: #cc66cc;color:#800000;">4</span>/bin/blackberry-airpackager.<span style="color: #006600;">bat</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">BBSigner = $<span style="color: #66cc66;">&#123;</span>flex.<span style="color: #006600;">path</span><span style="color: #66cc66;">&#125;</span>/blackberry-tablet-sdk-<span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">9</span>.<span style="color: #cc66cc;color:#800000;">4</span>/bin/blackberry-signer.<span style="color: #006600;">bat</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #006600;">ip</span> = <span style="color: #66cc66;">&#91;</span>PLAYBOOK_IP<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #0066CC;">password</span> = <span style="color: #66cc66;">&#91;</span>YOUR_PASSWORD<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## Directories</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">build.<span style="color: #006600;">dir</span> = bin-release</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">dev.<span style="color: #006600;">dir</span> = $<span style="color: #66cc66;">&#123;</span>basedir<span style="color: #66cc66;">&#125;</span>/src</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cert.<span style="color: #006600;">dir</span> = $<span style="color: #66cc66;">&#123;</span>basedir<span style="color: #66cc66;">&#125;</span>/certs</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">app.<span style="color: #0066CC;">name</span> = BaseMobileActionScriptProject</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## mxml or as</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">app.<span style="color: #0066CC;">type</span> = as</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## Apple cert info: ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apple.<span style="color: #0066CC;">target</span> = ipa-ad-hoc</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apple.<span style="color: #006600;">cert</span> = <span style="color: #66cc66;">&#91;</span>APPLE_CERT_NAME<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">p12</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apple.<span style="color: #006600;">cert</span>.<span style="color: #0066CC;">password</span> = <span style="color: #66cc66;">&#91;</span>CERT_PASSWORD<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apple.<span style="color: #006600;">provision</span> = <span style="color: #66cc66;">&#91;</span>PROVISION_NAME<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">mobileprovision</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apple.<span style="color: #006600;">descriptor</span> = $<span style="color: #66cc66;">&#123;</span>dev.<span style="color: #006600;">dir</span><span style="color: #66cc66;">&#125;</span>/$<span style="color: #66cc66;">&#123;</span>app.<span style="color: #0066CC;">name</span><span style="color: #66cc66;">&#125;</span>Apple-app.<span style="color: #0066CC;">xml</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## Android cert info</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cert = <span style="color: #66cc66;">&#91;</span>ANDROID_CERT_NAME<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">p12</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cert.<span style="color: #0066CC;">password</span> = <span style="color: #66cc66;">&#91;</span>YOUR_PASSWORD<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## PlayBook cert info</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #006600;">cert</span> = <span style="color: #66cc66;">&#91;</span>BB_CERT_NAME<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">p12</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #006600;">cert</span>.<span style="color: #0066CC;">password</span> = <span style="color: #66cc66;">&#91;</span>YOUR_PASSWORD<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #006600;">store</span>.<span style="color: #0066CC;">password</span> = <span style="color: #66cc66;">&#91;</span>YOUR_STORE_PASSWORD<span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bb.<span style="color: #006600;">descriptor</span> = $<span style="color: #66cc66;">&#123;</span>dev.<span style="color: #006600;">dir</span><span style="color: #66cc66;">&#125;</span>/$<span style="color: #66cc66;">&#123;</span>app.<span style="color: #0066CC;">name</span><span style="color: #66cc66;">&#125;</span>BlackBerry-app.<span style="color: #0066CC;">xml</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">## General</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">swfFile=$<span style="color: #66cc66;">&#123;</span>build.<span style="color: #006600;">dir</span><span style="color: #66cc66;">&#125;</span>/$<span style="color: #66cc66;">&#123;</span>app.<span style="color: #0066CC;">name</span><span style="color: #66cc66;">&#125;</span>.<span style="color: #006600;">swf</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">projectFile=$<span style="color: #66cc66;">&#123;</span>dev.<span style="color: #006600;">dir</span><span style="color: #66cc66;">&#125;</span>/$<span style="color: #66cc66;">&#123;</span>app.<span style="color: #0066CC;">name</span><span style="color: #66cc66;">&#125;</span>.$<span style="color: #66cc66;">&#123;</span>app.<span style="color: #0066CC;">type</span><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>Resources:</strong><br />
<a href="http://www.terrenceryan.com/blog/post.cfm/using-ant-to-package-the-same-air-app-to-multiple-devices"  target="_blank">http://www.terrenceryan.com/blog/post.cfm/using-ant-to-package-the-same-air-app-to-multiple-devices</a><br />
<a href="http://technophi.com/2011/03/08/using-ant-to-compile-a-flex-mobile-project-for-ios/"  target="_blank">http://technophi.com/2011/03/08/using-ant-to-compile-a-flex-mobile-project-for-ios/</a><br />
<a href="http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html" target="_blank">http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html</a><br />
<a href="http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html" target="_blank">http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackcj.com/blog/2011/04/04/ios-android-and-blackberry-in-a-single-click-with-ant/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.560 seconds -->

