<?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>Antair Blog &#187; Programming</title>
	<atom:link href="http://www.antair.com/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.antair.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jan 2012 04:33:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Building the user interface for Snippets</title>
		<link>http://www.antair.com/blog/2010/03/27/building-the-user-interface-for-snippets/</link>
		<comments>http://www.antair.com/blog/2010/03/27/building-the-user-interface-for-snippets/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 20:42:06 +0000</pubDate>
		<dc:creator>Antair</dc:creator>
				<category><![CDATA[Behind the Scenes]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[antair]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://www.antair.com/blog/?p=234</guid>
		<description><![CDATA[Our upcoming product Snippets will be our sixth BlackBerry application, and our most ambition user-interface to date. The custom user interface engine used in Snippets is capable of rendering on any modern BlackBerry device from the older Pearl models displaying at 240&#215;260 pixels to the new Storm and Bold devices running upwards of 480&#215;360 pixels. [...]]]></description>
			<content:encoded><![CDATA[<p>Our upcoming product Snippets will be our sixth BlackBerry application, and our most ambition user-interface to date.</p>
<p>The custom user interface engine used in Snippets is capable of rendering on any modern BlackBerry device from the older Pearl models displaying at 240&#215;260 pixels to the new Storm and Bold devices running upwards of 480&#215;360 pixels.</p>
<p>To support the unique characteristics of the BlackBerry Storm and Storm2, the new Antair UI engine is also capable of dynamically switching from landscape rendering to portrait rendering, and has full touch-screen capabilities.</p>
<p>Let&#8217;s take a look at how we build up one of our custom screens in the new Snippets application. I&#8217;ll be using the BlackBerry Storm in landscape mode for presentation.</p>
<p>We begin with a blank screen and use a solid bitmap background as a   foundation. For Snippets, we decided to go with a nice wood grain   bitmap. The engine takes care of making sure that the background is   fitted properly on the various screen sizes supported by the various   BlackBerry devices.</p>
<p><img class="alignnone size-full wp-image-237" style="border: 1px solid black;" title="201003272" src="http://www.antair.com/blog/wp-content/uploads/2010/03/201003272.jpg" alt="" width="500" height="308" /></p>
<p>Then, we use custom controls to create a beautiful title bar. Aside from displaying the application title and company name, the title bar is used to hold controls for various functions, including <strong>settings</strong> and <strong>support</strong>. It&#8217;s also semi-transparent, allowing for the wood texture of the background to show through.</p>
<p><img class="alignnone size-full wp-image-240" style="border: 1px solid black;" title="201003273" src="http://www.antair.com/blog/wp-content/uploads/2010/03/201003273.jpg" alt="" width="500" height="308" /></p>
<p>Snippets is an auto-text/auto-complete application. We wanted to make the task of creating a new Snippet not only easy and intuitive, but also pleasant visually. So we built a ton of custom controls for the application. One such control is the Snippet editing control which looks like a real yellow notepad.</p>
<p><img class="alignnone size-full wp-image-244" style="border: 1px solid black;" title="201003274" src="http://www.antair.com/blog/wp-content/uploads/2010/03/201003274.jpg" alt="" width="500" height="308" /></p>
<p>Then, we needed to add Snippet creation controls to the screen, along with a feature to allow you to enter a <strong>Quick Type</strong> sequence; the sequence of characters that will automatically insert your Snippet when you are creating a new e-mail or SMS message. But we didn&#8217;t want to break the feel of the yellow notepad. So we created a control panel that looks and feels like it belongs naturally in this scene &#8211; a ripped piece of paper held down by a paperclip.</p>
<p><img class="alignnone size-full wp-image-245" style="border: 1px solid black;" title="201003275" src="http://www.antair.com/blog/wp-content/uploads/2010/03/201003275.jpg" alt="" width="500" height="308" /></p>
<p>Finally, we wanted to give the screen a little balance. We didn&#8217;t like the way to notepad ran off the bottom. We also needed a way to assign the new Snippet to a category. So we created a nice footer for the screen. Notice how the footer control is slightly transparent to allow a bit of the underlying yellow notepad to show through &#8212; another feature of the new Antair UI engine.</p>
<p><img class="alignnone size-full wp-image-246" style="border: 1px solid black;" title="201003276" src="http://www.antair.com/blog/wp-content/uploads/2010/03/201003276.jpg" alt="" width="500" height="308" /></p>
<p>There you go. The design behind one of the screens for our upcoming Snippets application.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antair.com/blog/2010/03/27/building-the-user-interface-for-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Antair Releases BlackBerry Auto-Responder 1.4</title>
		<link>http://www.antair.com/blog/2010/02/11/antair-releases-blackberry-auto-responder-1-4/</link>
		<comments>http://www.antair.com/blog/2010/02/11/antair-releases-blackberry-auto-responder-1-4/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 00:36:56 +0000</pubDate>
		<dc:creator>Antair</dc:creator>
				<category><![CDATA[Antair News]]></category>
		<category><![CDATA[Behind the Scenes]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.antair.com/blog/?p=133</guid>
		<description><![CDATA[We&#8217;ve just released version 1.4 of our Auto-Responder product for the BlackBerry. This new version introduces more customer-requested features, such as an increased timeout for responses sent to the same e-mail address, and the ability to retain the subject line of the original message instead of using a custom subject line. We&#8217;ve also updated the [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just released version 1.4 of our <a href="http://www.antair.com/blackberry/autoresponder/">Auto-Responder</a> product for the BlackBerry.</p>
<p><img class="size-full wp-image-134 alignnone" title="030" src="http://www.antair.com/blog/wp-content/uploads/2010/03/030.jpg" alt="" width="400" height="462" /></p>
<p>This new version introduces more customer-requested features, such as an increased timeout for responses sent to the same e-mail address, and the ability to retain the subject line of the original message instead of using a custom subject line.</p>
<p>We&#8217;ve also updated the engine to support all modern BlackBerry devices, including the Storm and Storm2 touch-screen models.</p>
<p>As usual, both the touch and non-touch screen editions of Antair Auto-Responder are built from the same code-base using a combination of RAPC-supported precompilation and Antair magic voodoo.</p>
<p>One thing to note is that implementing support for touch devices made it necessary to modify the control scheme a bit. And while we were at it, the design wizards insisted that we change the color scheme of the app to make it more &#8212; &#8220;friendly and modern&#8221;.</p>
<p>Here, in the screenshot of an earlier version of Antair Auto-Responder, you can see the shaded-blue color scheme. The main control scheme revolved around a set of HTML-like links. A scroll of the trackwheel or trackball underlined the control under focus, making each screen flow more like a web page rather than a typical mobile app screen.</p>
<p><img class="size-full wp-image-135 alignnone" title="031" src="http://www.antair.com/blog/wp-content/uploads/2010/03/031.jpg" alt="" width="410" height="601" /></p>
<p>In the new version, the control scheme has been modified to work better with touch-devices, with the links being replaced by large buttons. And, as you can see, the color scheme has been modified as well. The app does feel more modern, and, I must admit, more &#8220;friendly&#8221;.</p>
<p><img class="size-full wp-image-136 alignnone" title="032" src="http://www.antair.com/blog/wp-content/uploads/2010/03/032.jpg" alt="" width="400" height="686" /></p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antair.com/blog/2010/02/11/antair-releases-blackberry-auto-responder-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging BlackBerry User Interface Code</title>
		<link>http://www.antair.com/blog/2009/09/25/debugging-blackberry-user-interface-code/</link>
		<comments>http://www.antair.com/blog/2009/09/25/debugging-blackberry-user-interface-code/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 00:37:53 +0000</pubDate>
		<dc:creator>Antair</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.antair.com/blog/?p=118</guid>
		<description><![CDATA[The most effective debugging techniques are usually the simplest; printf(), echo(), System.out.println(). If you&#8217;re debugging UI code for the BlackBerry, here&#8217;s your printf() : protected void paint ( Graphics graphics ) { &#160;&#160;&#160;&#160;graphics.setColor ( 0x00FFFFFF ); &#160;&#160;&#160;&#160;graphics.drawRect ( 0, 0, getWidth(), getHeight() ); &#160;&#160;&#160;&#160;super.paint ( graphics ); }]]></description>
			<content:encoded><![CDATA[<p>The most effective debugging techniques are usually the simplest; <strong>printf(), echo(), System.out.println()</strong>.</p>
<p>If you&#8217;re debugging UI code for the BlackBerry, here&#8217;s your <strong>printf()</strong> :</p>
<div style="background-color: #FBFBEF; padding: 10px 10px 3px 10px;">
<p style="font-family: sans-serif; font-size: 16px;">
protected void paint ( Graphics graphics )<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;graphics.setColor ( 0x00FFFFFF );<br />
&nbsp;&nbsp;&nbsp;&nbsp;graphics.drawRect ( 0, 0, getWidth(), getHeight() );<br />
&nbsp;&nbsp;&nbsp;&nbsp;super.paint ( graphics );<br />
}
</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.antair.com/blog/2009/09/25/debugging-blackberry-user-interface-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

