<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>FlexBloggers.org Feed</title>
    <link>http://www.flexbloggers.org</link>
    <description>Feed of the latest items aggregated.</description>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Flexbloggers" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="flexbloggers" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title>iOS Tutorial: Create Asynchronous Image Downloader using NSOperationQueue</title>
      <link>http://xebee.xebia.in/2012/05/26/ios-tutorial-create-asynchronous-image-downloader-using-nsoperationqueue/</link>
      <description>Number of times in our application, we have to download an image over the internet. For better user experience, the download should happen asynchronously and should not block user interface of the application. In this tutorial, we will learn how to create an Image Download Manager which will: Download image asynchronously from a URL Download [...]</description>
      <pubDate>Sat, 26 May 2012 02:16:48 GMT</pubDate>
      <author>Swarm of XeBees</author>
      <comments>http://xebee.xebia.in/</comments>
      <guid isPermaLink="false">47530</guid>
    </item>
    <item>
      <title>Using requestAnimationFrame to Optimize Dragging Events</title>
      <link>http://blog.digitalbackcountry.com/2012/05/using-requestanimationframe-to-optimize-dragging-events/</link>
      <description>requestAnimationFrame is an API that was originally created by Mozilla but has found its way into Chrome and I think it has huge, huge implications for user interface. A lot of the examples I&amp;#8217;ve seen have talked about how you &amp;#8230; &lt;a href="http://blog.digitalbackcountry.com/2012/05/using-requestanimationframe-to-optimize-dragging-events/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description>
      <pubDate>Fri, 25 May 2012 19:14:18 GMT</pubDate>
      <author>Digital Backcountry</author>
      <comments>http://www.digitalbackcountry.com</comments>
      <guid isPermaLink="false">47529</guid>
    </item>
    <item>
      <title>ActionScript 3.0, Flash CS6 and Mobile Apps</title>
      <link>http://feedproxy.google.com/~r/as3dp/gQKb/~3/Zm1FgCjrXcg/</link>
      <description>Games, Art and Flash In looking for some game images for this post, I came across one of the cave drawings from Chauvet-Pont-d&amp;#8217;Arc, France created about 17,300 years ago. All told, about 2,000 images decorate the cave walls in Lascaux. Some years ago, I copied one of the cave drawings and made a Flash animated [...]</description>
      <pubDate>Fri, 25 May 2012 16:28:03 GMT</pubDate>
      <author>ActionScript 3 Design Patterns</author>
      <comments>http://www.as3dp.com/</comments>
      <guid isPermaLink="false">47528</guid>
    </item>
    <item>
      <title>ActionScript 3.0, Flash CS6 and Mobile Apps</title>
      <link>http://feedproxy.google.com/~r/as3dp/gQKb/~3/Zm1FgCjrXcg/</link>
      <description>Games, Art and Flash In looking for some game images for this post, I came across one of the cave drawings from Chauvet-Pont-d&amp;#8217;Arc, France created about 17,300 years ago. All told, about 2,000 images decorate the cave walls in Lascaux. Some years ago, I copied one of the cave drawings and made a Flash animated [...]</description>
      <pubDate>Fri, 25 May 2012 16:28:02 GMT</pubDate>
      <author>ActionScript 3 Design Patterns</author>
      <comments>http://www.as3dp.com</comments>
      <guid isPermaLink="false">47527</guid>
    </item>
    <item>
      <title>An Open Letter to Last Friday</title>
      <link>http://feedproxy.google.com/~r/johnwilker/~3/tnOysZZTikY/</link>
      <description>Well what a shit storm that was. Almost entirely all of my own making, I&amp;#8217;ll admit. This post is to clear a few things up and re-iterate my apology. I absolutely don&amp;#8217;t want to start another internet rumble with this &amp;#8230; &lt;a href="http://johnwilker.com/2012/05/an-open-letter-to-last-friday/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;p&gt;&lt;a href="http://360idev.com"&gt;&lt;img width="468" height="60" src="http://360idev.com/images/RSS-Banner.png" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 25 May 2012 16:00:11 GMT</pubDate>
      <author>johnwilker.com</author>
      <comments>http://www.johnwilker.com</comments>
      <guid isPermaLink="false">47526</guid>
    </item>
    <item>
      <title>Usability in Everyday Products</title>
      <link>http://xebee.xebia.in/2012/05/25/usability-in-everyday-products/</link>
      <description>In our day to day life we use many products; some are nice to use others are not so nice. But at times you will come across few such product which are really difficult to use and not at all User Friendly. Well that brings the hell. What does User Friendly means? In a lay [...]</description>
      <pubDate>Fri, 25 May 2012 09:47:16 GMT</pubDate>
      <author>Swarm of XeBees</author>
      <comments>http://xebee.xebia.in/</comments>
      <guid isPermaLink="false">47525</guid>
    </item>
    <item>
      <title>How to unregister or destroy a widget in Dojo</title>
      <link>http://xebee.xebia.in/2012/05/25/how-to-unregister-or-destroy-a-widget-in-dojo/</link>
      <description>There are many sites, which tell you how to unregister widget / id from dijit registery. I tried most of them ( or perheps all of them ) to unregister my widget but nothing worked, and always ended up with the following error: Error: Tried to register widget with id==country-tree-container that id is already registered [...]</description>
      <pubDate>Fri, 25 May 2012 00:31:58 GMT</pubDate>
      <author>Swarm of XeBees</author>
      <comments>http://xebee.xebia.in/</comments>
      <guid isPermaLink="false">47524</guid>
    </item>
    <item>
      <title>SIKULI  Visual Technology to automate and test GUIs</title>
      <link>http://xebee.xebia.in/2012/05/23/sikuli-%e2%80%93-visual-technology-to-automate-and-test-guis/</link>
      <description>This blog is about an interesting technology named Sikuli for GUI test automation, where it can be used, how to develop test automation scripts using Sikuli, and some of current limitations with this tool. INTRODUCTION Sikuli is an open source tool to automate and test graphical user interfaces (GUI) using image recognition technology. It identifies [...]</description>
      <pubDate>Wed, 23 May 2012 09:46:47 GMT</pubDate>
      <author>Swarm of XeBees</author>
      <comments>http://xebee.xebia.in/</comments>
      <guid isPermaLink="false">47523</guid>
    </item>
    <item>
      <title>Preventing vertical scrolling bounce of websites on iOS using JavaScript</title>
      <link>http://gregsramblings.com/2012/05/23/preventing-vertical-scrolling-bounce-using-javascript-on-ios-devices/</link>
      <description>I recently created a web site for reading Twitter called http://lottatweets.com. &amp;#160; As mentioned in an earlier blog post, the site uses CSS3 columns and scrolls horizontally. &amp;#160;If you use your iPad and access any websites, you&amp;#8217;ll notice that if you pull down on the content, you can drag the top of the page down [...]</description>
      <pubDate>Wed, 23 May 2012 02:59:57 GMT</pubDate>
      <author>Greg Wilson's Ramblings</author>
      <comments>http://gregorywilson.wordpress.com/</comments>
      <guid isPermaLink="false">47522</guid>
    </item>
    <item>
      <title>Creating watermarked images in PhoneGap</title>
      <link>http://www.raymondcamden.com/index.cfm/2012/5/22/Creating-watermarked-images-in-PhoneGap</link>
      <description>A reader asked me if it was possible to watermark images (like those taken with a camera) in PhoneGap. This is rather trivial using Canvas (hey, it &lt;i&gt;does&lt;/i&gt; have a use!) so I whipped up the following example to demonstrate it in action.First - let's look at the code. It's short enough to show all at once:

&lt;script src="https://gist.github.com/2769530.js?file=gistfile1.html"&gt;&lt;/script&gt;

The UI for the application is just a header and a button. I've got the button initially disabled as I need to ensure some resources load before you start taking pictures. 

Looking at the JavaScript code, you can see that I've created a canvas instance from the DOM and have created a watermark image. When it loads, I'm ready to watermark so I enable the button.

The button's touchstart event ties in to the PhoneGap &lt;a href="http://docs.phonegap.com/en/1.7.0/cordova_camera_camera.md.html#Camera"&gt;Camera API&lt;/a&gt; to trigger the device to create a new picture. I could allow for gallery photos as well or make use of images from the web. 

Once you take a picture, it's a trivial matter then to load it into an image object and copy it onto the canvas. Note that I place the watermark in the lower right hand corner of the image. That's where most watermarks seem to go so I did the same.

Here's a quick example. Forgive the horrible quality of the Xoom camera.

&lt;img src="http://www.raymondcamden.com/images/device-2012-05-22-095628.png" /&gt;

You can do anything you want with the image now, including &lt;a href="http://stackoverflow.com/questions/1590965/uploading-canvas-image-data-to-the-server"&gt;getting the bits&lt;/a&gt; and &lt;a href="http://www.raymondcamden.com/index.cfm/2011/11/2/PhoneGap-file-upload-to-ColdFusion"&gt;uploading it to a server&lt;/a&gt;.</description>
      <pubDate>Tue, 22 May 2012 11:16:45 GMT</pubDate>
      <author>Raymond Camden's ColdFusion Blog</author>
      <comments>http://www.coldfusionjedi.com</comments>
      <guid isPermaLink="false">47521</guid>
    </item>
  </channel>
</rss>

