<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5461499903892964712</id><updated>2024-10-04T19:57:03.890-07:00</updated><title type='text'>blackberry10dev</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-2644383340695113642</id><published>2012-10-14T05:13:00.006-07:00</published><updated>2012-10-14T05:13:57.714-07:00</updated><title type='text'>Qt Sensors from Qt Mobility arrived on BlackBerry 10</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; clear: left; color: #333333; float: left; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; margin-right: 1em; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;TITLE_IMAGE&quot; class=&quot;aligncenter size-full wp-image-11631&quot; height=&quot;288&quot; src=&quot;http://rimdevblog.files.wordpress.com/2012/10/embed.png&quot; title=&quot;embed&quot; width=&quot;188&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
Developing for BlackBerry® has never been faster or easier.&amp;nbsp; We have been working hard to give you the same experience when incorporating sensors into your game or application.&amp;nbsp; With the release of Beta 3, we have added complete support for sensors in Cascades™, leveraging the power of Qt Sensors from Qt Mobility.&amp;nbsp; QML gives you the unparalleled flexibility and simplicity of adding a sensor to your app in as little as 4 lines of code!&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;   Compass {
      active: &lt;b&gt;true&lt;/b&gt;
      onReadingChanged: {
          console.&lt;b&gt;log&lt;/b&gt;(&quot;Azimuth&quot; + &lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;reading.&lt;/span&gt;azimuth);
      }
   }&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Of course we still also support the C++ Qt Sensor API for those hardcore developers out there.&amp;nbsp; For more information on including and using sensors in your project check out the newly updated documentation&amp;nbsp;&lt;a href=&quot;https://developer.blackberry.com/cascades/documentation/device_comm/sensors/index.html&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; text-decoration: initial !important; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
The device movement alarm is a great example on leveraging some of RIM®’s exclusive API extensions.&amp;nbsp; Use them to differentiate your app.&amp;nbsp; Look for the following APIs:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin: 10px 0px 10px 25px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;axesOrientationMode&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;accelerationMode&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;alwaysOn&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;skipDuplicates&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
By now you are probably screaming “Show me the code!”.&amp;nbsp; We have you covered and have created several examples that we want you to copy, paste, and mash up into your applications.&amp;nbsp; Show us what you can do!&lt;/div&gt;
&lt;ul style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin: 10px 0px 10px 25px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sensor Examples:&amp;nbsp;&lt;a href=&quot;https://github.com/blackberry/Cascades-Samples&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;https://github.com/blackberry/Cascades-Samples&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User documentation:&amp;nbsp;&lt;a href=&quot;http://blackberry.github.com/Cascades-Samples&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;http://blackberry.github.com/Cascades-Samples&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/2644383340695113642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/10/qt-sensors-from-qt-mobility-arrived-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/2644383340695113642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/2644383340695113642'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/10/qt-sensors-from-qt-mobility-arrived-on.html' title='Qt Sensors from Qt Mobility arrived on BlackBerry 10'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-6598764545643190055</id><published>2012-10-14T05:12:00.001-07:00</published><updated>2012-10-14T05:12:16.433-07:00</updated><title type='text'>gameplay3d engine v1.5 Released</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; text-align: justify;&quot;&gt;For those unfamiliar, gameplay is an open-source and cross-platform C++ game framework that we have contributed out along with the community on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/blackberry/GamePlay&quot; style=&quot;border: 0px; color: #0055b4; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify; text-decoration: initial !important; vertical-align: baseline;&quot;&gt;github&lt;/a&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; text-align: justify;&quot;&gt;. Lately it has really been picking up steam in the 3D indie communities. Our focus in creating the gameplay3d framework was to deliver a high-quality, minimalistic 3D game framework that helps game studios understand our platform better. People have been looking into the source code of the framework (library, tools and samples) and it has been helping people understand the details on how to easily go cross-platform and how to easily include BlackBerry with very little efforts.&lt;/span&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter  wp-image-11651&quot; height=&quot;311&quot; src=&quot;http://rimdevblog.files.wordpress.com/2012/10/cross-platform.jpg?w=532&amp;amp;h=311&quot; title=&quot;cross-platform&quot; width=&quot;532&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 20px; font-weight: normal; line-height: 22px; margin: 0px; padding: 5px 0px; text-align: start; vertical-align: baseline;&quot;&gt;
New features&lt;/h2&gt;
&lt;ul style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin: 10px 0px 10px 25px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux support (tested on Ubuntu 12.04 LTE 64-bit)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux development environment (via CMake or CodeBlock 10 IDE)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Vehicle physics support (via new PhysicsVehicle and PhysicsVehicleWheel classes)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Gamepad support for Xbox360, PS3 and Bluetooth® HID controllers on desktops systems.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Touch gesture support for tap, swipe and pinch.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Configurable multi-sampling anti-aliasing support.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;New gameplay-tests app for easily learning basic engine features.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;New public community forums directly off the website at&amp;nbsp;&lt;a href=&quot;http://www.gameplay3d.org/forums&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;www.gameplay3d.org/forums&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;File formats documentation for game.config .scene, .material, .animation, .physics, .particle&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://developer.blackberry.com/native/beta/documentation/using_microsoft_visual_studio.html&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Visual Studio Plug-in (beta)&lt;/a&gt;&amp;nbsp;support for BlackBerry PlayBook 2.0 and BlackBerry 10.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 20px; font-weight: normal; line-height: 22px; margin: 0px; padding: 5px 0px; text-align: start; vertical-align: baseline;&quot;&gt;
The ‘next’ branch features for v1.6, v1.7&lt;/h2&gt;
&lt;ul style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 13px; line-height: 21px; margin: 10px 0px 10px 25px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AI path finding with navigation meshes&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Terrain and Water&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Asset Pipeline improvements&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21px;&quot;&gt;Go on and test it!!!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/6598764545643190055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/10/gameplay3d-engine-v15-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/6598764545643190055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/6598764545643190055'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/10/gameplay3d-engine-v15-released.html' title='gameplay3d engine v1.5 Released'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-4134016044814705202</id><published>2012-07-26T02:10:00.001-07:00</published><updated>2012-07-26T02:10:24.855-07:00</updated><title type='text'>Nokia tablet</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuG_bhlyzN0Fr1ROoQa23YRTjNKa3MzXHfW_Y_GB52nMw9kwqxZTGoy9Aqn5eWr-fprp2oOFSR5Tw28Y-yA6YtO1zDDhsp1iDNlfVyCHA7tO9iV4y4EU7LJ6f2IVdFXOtAIetOjGzuD8/s1600/c.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuG_bhlyzN0Fr1ROoQa23YRTjNKa3MzXHfW_Y_GB52nMw9kwqxZTGoy9Aqn5eWr-fprp2oOFSR5Tw28Y-yA6YtO1zDDhsp1iDNlfVyCHA7tO9iV4y4EU7LJ6f2IVdFXOtAIetOjGzuD8/s320/c.PNG&quot; width=&quot;318&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/4134016044814705202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/nokia-tablet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/4134016044814705202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/4134016044814705202'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/nokia-tablet.html' title='Nokia tablet'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuG_bhlyzN0Fr1ROoQa23YRTjNKa3MzXHfW_Y_GB52nMw9kwqxZTGoy9Aqn5eWr-fprp2oOFSR5Tw28Y-yA6YtO1zDDhsp1iDNlfVyCHA7tO9iV4y4EU7LJ6f2IVdFXOtAIetOjGzuD8/s72-c/c.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-288791845117895890</id><published>2012-07-26T02:03:00.002-07:00</published><updated>2012-07-26T02:03:55.069-07:00</updated><title type='text'></title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaIr9B8hxgH1BfdX9G7cV5wq-x5HaBo1CcQ3C20C6iB9CvL8RU0Z5tFdd3_C328jTd2doXx2-t65XakbSuAt8RfxW6fRXq91t8RpMLfI89aLSGOKqAbs_troHzql81MuyKRY9yFc9JVxM/s1600/406241_10150539355998830_549673829_8685071_1423096322_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaIr9B8hxgH1BfdX9G7cV5wq-x5HaBo1CcQ3C20C6iB9CvL8RU0Z5tFdd3_C328jTd2doXx2-t65XakbSuAt8RfxW6fRXq91t8RpMLfI89aLSGOKqAbs_troHzql81MuyKRY9yFc9JVxM/s320/406241_10150539355998830_549673829_8685071_1423096322_n.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/288791845117895890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/288791845117895890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/288791845117895890'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/blog-post.html' title=''/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaIr9B8hxgH1BfdX9G7cV5wq-x5HaBo1CcQ3C20C6iB9CvL8RU0Z5tFdd3_C328jTd2doXx2-t65XakbSuAt8RfxW6fRXq91t8RpMLfI89aLSGOKqAbs_troHzql81MuyKRY9yFc9JVxM/s72-c/406241_10150539355998830_549673829_8685071_1423096322_n.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-5487667890967745328</id><published>2012-07-25T08:31:00.002-07:00</published><updated>2012-07-25T08:31:39.553-07:00</updated><title type='text'>Cascades How to: Using new Camera API</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
With the release of the BlackBerry® Native SDK Beta 2 comes the Cascades™ Camera API. If you want to see it in action, check out the spiffy Photobomber sample app available in the&amp;nbsp;&lt;a href=&quot;https://developer.blackberry.com/cascades/sampleapps/&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-size: 12.727272033691406px; font-style: inherit; margin: 0px; padding: 0px; text-decoration: none !important; vertical-align: baseline;&quot; target=&quot;_new&quot;&gt;BlackBerry Jam Zone&lt;/a&gt;&amp;nbsp;and on&lt;a href=&quot;https://github.com/blackberry/Cascades-Samples/tree/master/photobomber&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-size: 12.727272033691406px; font-style: inherit; margin: 0px; padding: 0px; text-decoration: none !important; vertical-align: baseline;&quot; target=&quot;_new&quot;&gt;GitHub&lt;/a&gt;. You can just import it, compile it, install it on your BlackBerry® 10 Dev Alpha and go.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
However, there are a couple of set-up gotchas in the current beta you are going to run into if you are just trying to add Camera functionality to your own app. Luckily, they are pretty simple to get past, especially with me here telling you exactly what to do! Let’s quickly run through them.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span id=&quot;more-10375&quot; style=&quot;border: 0px; font-family: inherit; font-size: 12.727272033691406px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 0px; padding: 5px 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;1. QML Imports&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
In your QML file, right underneath the default:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;import bb.cascades 1.0&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
you want to also add:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;import bb.cascades.multimedia 1.0&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
This will let the QML editor know about the camera components so it doesn’t complain at you.&lt;/div&gt;
&lt;h3 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 0px; padding: 5px 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;2. Include the Camera headers&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
This is pretty standard C++ stuff, but don’t forget to also import the headers into your C++ code. In your default app.cpp you will want to import at least this:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;#include &amp;lt;bb/cascades/multimedia/Camera&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
You may also end up needing a few others if you are doing more involved camera work in C++, like this:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;#include &amp;lt;bb/cascades/multimedia/CameraSettings.hpp&amp;gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;#include &amp;lt;bb/cascades/multimedia/CameraTypes.hpp&amp;gt;&lt;/pre&gt;
&lt;h3 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 0px; padding: 5px 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;3. Register the Camera in C++&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
In your default app.cpp file, right before the call to:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt; QmlDocument *qml = QmlDocument::create(&quot;main.qml&quot;);&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Add:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt; bb::cascades::multimedia::Camera::registerQmlTypes();&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
If you don’t do this, the Camera components won’t actually get loaded and you’ll get an error. This is also why you imported the Camera header file, if you are doing the rest of the camera work in QML.&lt;/div&gt;
&lt;h3 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 0px; padding: 5px 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;4. Link to the Multimedia Libraries&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Right now the linker isn’t quite set up properly to connect your app to some of the new libraries added in R6. For now, you’ll want to manually open the&amp;nbsp;&lt;code style=&quot;background-color: #dedede; border: 0px; color: black; font-family: Courier; font-size: 11px; line-height: 1.4; margin: 0px; overflow-x: scroll; padding: 0px 3px; vertical-align: baseline;&quot;&gt;&amp;lt;appname&amp;gt;.pro&amp;nbsp;&lt;/code&gt;file and add the following line:&lt;/div&gt;
&lt;pre style=&quot;background-color: #dedede; border: 1px solid rgb(221, 221, 221); clear: both; color: #333333; font-family: Consolas, &#39;Andale Mono&#39;, Courier, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow: auto; padding: 10px; vertical-align: baseline;&quot;&gt;LIBS   += -lcamapi -lscreen  -lbbsystem  -lbbcascadesmultimedia –lzxing&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Not all of those are strictly necessary (for example, the zxing library will only be helpful if you want to connect to&amp;nbsp;&lt;a href=&quot;http://code.google.com/p/zxing/&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-size: 12.727272033691406px; font-style: inherit; margin: 0px; padding: 0px; text-decoration: none !important; vertical-align: baseline;&quot; target=&quot;_New&quot;&gt;ZXing&lt;/a&gt;&amp;nbsp;to do some custom barcode scanning. We’ll talk about how to do that in a future blog post), but it’s not going to hurt, and the names of the libraries are not terribly discoverable on your own.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
You’ll note there is no&amp;nbsp;&lt;code style=&quot;background-color: #dedede; border: 0px; color: black; font-family: Courier; font-size: 11px; line-height: 1.4; margin: 0px; overflow-x: scroll; padding: 0px 3px; vertical-align: baseline;&quot;&gt;LIBS&lt;/code&gt;&amp;nbsp;line by default in your&amp;nbsp;&lt;code style=&quot;background-color: #dedede; border: 0px; color: black; font-family: Courier; font-size: 11px; line-height: 1.4; margin: 0px; overflow-x: scroll; padding: 0px 3px; vertical-align: baseline;&quot;&gt;.pro&lt;/code&gt;&amp;nbsp;file. I like to add mine below the&amp;nbsp;&lt;code style=&quot;background-color: #dedede; border: 0px; color: black; font-family: Courier; font-size: 11px; line-height: 1.4; margin: 0px; overflow-x: scroll; padding: 0px 3px; vertical-align: baseline;&quot;&gt;CONFIG&lt;/code&gt;&amp;nbsp;line, though I’m not sure it really matters.&lt;/div&gt;
&lt;h3 style=&quot;border: 0px; clear: both; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 0px; padding: 5px 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;5. Done!&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; line-height: 19.09090805053711px; margin-bottom: 10px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
That’s it, you’re all set up! Now you can use the Camera API to your heart’s content. If doing so results in your app taking a lot of pictures, don’t forget you can use the&amp;nbsp;&lt;a href=&quot;https://developer.blackberry.com/cascades/reference/bb__system__invokemanager.html&quot; style=&quot;border: 0px; color: #0055b4; font-family: inherit; font-size: 12.727272033691406px; font-style: inherit; margin: 0px; padding: 0px; text-decoration: none !important; vertical-align: baseline;&quot; target=&quot;_new&quot;&gt;Invoke Framework&lt;/a&gt;&amp;nbsp;to let your users easily share them. It’s a snap.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/5487667890967745328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/cascades-how-to-using-new-camera-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/5487667890967745328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/5487667890967745328'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/cascades-how-to-using-new-camera-api.html' title='Cascades How to: Using new Camera API'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5461499903892964712.post-5903722595482947801</id><published>2012-07-25T08:14:00.002-07:00</published><updated>2012-07-25T08:14:09.600-07:00</updated><title type='text'>Hello world!</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Welcome to my new&amp;nbsp;blog! My primary goal is to create simple but useful place where I’ll share my thoughts, findings and the overall experience with the latest BlackBerry 10 platform.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
End for now…&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberry10dev.blogspot.com/feeds/5903722595482947801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/hello-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/5903722595482947801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5461499903892964712/posts/default/5903722595482947801'/><link rel='alternate' type='text/html' href='http://blackberry10dev.blogspot.com/2012/07/hello-world.html' title='Hello world!'/><author><name>blackberry10dev</name><uri>http://www.blogger.com/profile/03558705034806996300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>