<?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-4741877095687769985</id><updated>2024-09-02T10:51:00.444+05:00</updated><title type='text'>All Mobile Development</title><subtitle type='html'>This is a blog for those who are new to mobile development field . But now its under construction .&#xa;All mobile development on one Blog.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4741877095687769985.post-2501544399262365803</id><published>2013-01-07T23:32:00.003+05:00</published><updated>2013-01-07T23:32:28.856+05:00</updated><title type='text'>Attention iOS Developers: Now is the time to bring your iOS apps to BlackBerry 10</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://devblog.blackberry.com/2012/12/porting-ios-apps-to-blackberry-10/?CPID=E20C021&amp;amp;Date=010713&quot; target=&quot;_blank&quot;&gt;http://devblog.blackberry.com/2012/12/porting-ios-apps-to-blackberry-10/?CPID=E20C021&amp;amp;Date=010713&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/2501544399262365803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2013/01/attention-ios-developers-now-is-time-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2501544399262365803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2501544399262365803'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2013/01/attention-ios-developers-now-is-time-to.html' title='Attention iOS Developers: Now is the time to bring your iOS apps to BlackBerry 10'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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-4741877095687769985.post-8545486967448634461</id><published>2013-01-06T20:38:00.002+05:00</published><updated>2013-01-06T20:38:42.225+05:00</updated><title type='text'>Play Voice Notes in Blackberry App</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;















&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
String&amp;nbsp;file_name&amp;nbsp;;//name of file or path of voice note to play&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;try&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;FileConnection con = (FileConnection)Connector.&lt;i&gt;open&lt;/i&gt;(&lt;span class=&quot;s1&quot;&gt;file_name&lt;/span&gt; , Connector.&lt;span class=&quot;s1&quot;&gt;&lt;i&gt;READ&lt;/i&gt;&lt;/span&gt;);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InputStream is = con.openInputStream();&lt;span class=&quot;s2&quot;&gt;//create an instance of the player from the //InputStream&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Player player = javax.microedition.media.Manager.&lt;i&gt;createPlayer&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (is, &lt;span class=&quot;s3&quot;&gt;&quot;audio/amr&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; player.realize();&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; player.prefetch();&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s2&quot;&gt;//start the player&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; player.start();&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;catch&lt;/b&gt;&lt;/span&gt;(MediaException me)&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;out&lt;/i&gt;&lt;/span&gt;.println(&lt;span class=&quot;s3&quot;&gt;&quot;Audio Play Start&quot;&lt;/span&gt; + me.toString());&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;catch&lt;/b&gt;&lt;/span&gt;(IOException ioe)&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;System.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;out&lt;/i&gt;&lt;/span&gt;.println( &lt;span class=&quot;s3&quot;&gt;&quot;Audio Play Start &quot;&lt;/span&gt; + ioe.toString());&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/8545486967448634461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2013/01/play-voice-notes-in-blackberry-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/8545486967448634461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/8545486967448634461'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2013/01/play-voice-notes-in-blackberry-app.html' title='Play Voice Notes in Blackberry App'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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-4741877095687769985.post-2160381607822833613</id><published>2012-12-18T21:12:00.002+05:00</published><updated>2012-12-18T21:12:38.323+05:00</updated><title type='text'>Pie Graph in BlackBerry , Android and J2ME</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) Define array of data and array of colors.&lt;br /&gt;
&lt;br /&gt;








&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;[] &lt;span class=&quot;s2&quot;&gt;data&lt;/span&gt; = { 16, 14, 16, 10, 4 };&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;colors&lt;/span&gt;[] = { Color.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;RED&lt;/i&gt;&lt;/span&gt; , Color.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;LIGHTBLUE&lt;/i&gt;&lt;/span&gt; ,Color.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;YELLOW&lt;/i&gt;&lt;/span&gt;, Color.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;GREEN&lt;/i&gt;&lt;/span&gt;,Color.&lt;span class=&quot;s2&quot;&gt;&lt;i&gt;BLUE&lt;/i&gt;&lt;/span&gt;};&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
/////////////////////&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
2) Other parameters&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; = 200;&amp;nbsp;&lt;/span&gt;// width of area where pie graph is drawn.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; = 200;&amp;nbsp;&lt;/span&gt;//height of area where pie graph is drawn.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s3&quot;&gt;sum&lt;/span&gt; = 0;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;deltaAngle&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; ;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s3&quot;&gt;x&lt;/span&gt; = 0; //starting point where area of pie graph drawn (you can change this as per your choice)&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s3&quot;&gt;y&lt;/span&gt; = 0; //&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;diameter&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
//////////////////////&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
3)Calculation&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;&lt;span class=&quot;s1&quot;&gt;sum&lt;/span&gt; = 0;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt; (&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; i = 0; i &amp;lt; &lt;span class=&quot;s1&quot;&gt;data&lt;/span&gt;.&lt;span class=&quot;s1&quot;&gt;length&lt;/span&gt;; i++) {&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;sum&lt;/span&gt; += &lt;span class=&quot;s1&quot;&gt;data&lt;/span&gt;[i];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;deltaAngle&lt;/span&gt; = 360 * 100 / &lt;span class=&quot;s1&quot;&gt;sum&lt;/span&gt; / 100;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (&lt;span class=&quot;s1&quot;&gt;width&lt;/span&gt; &amp;gt; &lt;span class=&quot;s1&quot;&gt;height&lt;/span&gt;)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;diameter&lt;/span&gt; = &lt;span class=&quot;s1&quot;&gt;height&lt;/span&gt; - &lt;span class=&quot;s1&quot;&gt;y&lt;/span&gt; * 2;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s2&quot;&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;diameter&lt;/span&gt; = &lt;span class=&quot;s1&quot;&gt;width&lt;/span&gt; - &lt;span class=&quot;s1&quot;&gt;x&lt;/span&gt; * 2;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
/////////////////&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
4)Paint function&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;protected&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt; paint(Graphics graphics) {&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; graphics.setColor(Color.&lt;span class=&quot;s4&quot;&gt;&lt;i&gt;BLACK&lt;/i&gt;&lt;/span&gt;);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; graphics.fillRect(0, 0, &lt;span class=&quot;s4&quot;&gt;width&lt;/span&gt;, &lt;span class=&quot;s4&quot;&gt;height&lt;/span&gt;);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; graphics.clear();&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; startAngle = 0;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt; (&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; i = 0; i &amp;lt; &lt;span class=&quot;s4&quot;&gt;data&lt;/span&gt;.&lt;span class=&quot;s4&quot;&gt;length&lt;/span&gt;; i++)&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp;{&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; graphics.setColor(&lt;span class=&quot;s4&quot;&gt;colors&lt;/span&gt;[i]);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; graphics.fillArc(&lt;span class=&quot;s4&quot;&gt;x&lt;/span&gt;, &lt;span class=&quot;s4&quot;&gt;y&lt;/span&gt;, &lt;span class=&quot;s4&quot;&gt;diameter&lt;/span&gt;, &lt;span class=&quot;s4&quot;&gt;diameter&lt;/span&gt;, startAngle, &lt;span class=&quot;s4&quot;&gt;deltaAngle&lt;/span&gt; * &lt;span class=&quot;s4&quot;&gt;data&lt;/span&gt;[i]);&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; startAngle += &lt;span class=&quot;s4&quot;&gt;deltaAngle&lt;/span&gt; * &lt;span class=&quot;s4&quot;&gt;data&lt;/span&gt;[i];&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&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/AVvXsEiCgZ3V7IIJ2WGyeuMoix6lawTySkJQ02_6EwnP7PFjvhXuX3TuBpVHrJSjJD7H0erVWta_JKnslJLGzZUdu0pufCWXfn4uOK6iWLc0DwqDJZsCZuG8u03FhmX6Q3WVB2_5V_aaT6lkVfU/s1600/Pie+Graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCgZ3V7IIJ2WGyeuMoix6lawTySkJQ02_6EwnP7PFjvhXuX3TuBpVHrJSjJD7H0erVWta_JKnslJLGzZUdu0pufCWXfn4uOK6iWLc0DwqDJZsCZuG8u03FhmX6Q3WVB2_5V_aaT6lkVfU/s400/Pie+Graph.PNG&quot; title=&quot;Sample of Pie Graph on BlackBerry Simulator&quot; width=&quot;276&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/2160381607822833613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2012/12/pie-graph-in-blackberry-android-and-j2me.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2160381607822833613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2160381607822833613'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2012/12/pie-graph-in-blackberry-android-and-j2me.html' title='Pie Graph in BlackBerry , Android and J2ME'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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/AVvXsEiCgZ3V7IIJ2WGyeuMoix6lawTySkJQ02_6EwnP7PFjvhXuX3TuBpVHrJSjJD7H0erVWta_JKnslJLGzZUdu0pufCWXfn4uOK6iWLc0DwqDJZsCZuG8u03FhmX6Q3WVB2_5V_aaT6lkVfU/s72-c/Pie+Graph.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4741877095687769985.post-3448478046420082792</id><published>2012-12-18T14:00:00.003+05:00</published><updated>2012-12-18T14:00:54.613+05:00</updated><title type='text'>How To - Create tabbed view screens  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/How_To_-_Create_tabbed_view_screens.html?nodeid=1357482&amp;amp;vernum=0&quot; target=&quot;_blank&quot;&gt;http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/How_To_-_Create_tabbed_view_screens.html?nodeid=1357482&amp;amp;vernum=0&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/3448478046420082792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2012/12/how-to-create-tabbed-view-screens.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/3448478046420082792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/3448478046420082792'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2012/12/how-to-create-tabbed-view-screens.html' title='How To - Create tabbed view screens  '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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-4741877095687769985.post-6663341517615297740</id><published>2012-12-15T21:01:00.000+05:00</published><updated>2012-12-15T21:52:40.266+05:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/6663341517615297740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2012/12/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/6663341517615297740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/6663341517615297740'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2012/12/blog-post.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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-4741877095687769985.post-5605939461758389134</id><published>2012-12-15T20:49:00.003+05:00</published><updated>2012-12-15T21:52:31.377+05:00</updated><title type='text'>Convert Vector to String Array in Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vector v = new Vector();&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.add(&quot;1&quot;);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.add(&quot;2&quot;);&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.add(&quot;3&quot;);&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v.add(&quot;4&quot;);&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] s = String[v.size];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for&lt;/b&gt;&lt;/span&gt;(&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt; i = 0 ; i &amp;lt; &lt;span class=&quot;s3&quot;&gt;g&lt;/span&gt;.&lt;span class=&quot;s3&quot;&gt;v&lt;/span&gt;.size() ; i++){&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;s[i] = (String) &lt;span class=&quot;s3&quot;&gt;g&lt;/span&gt;.&lt;span class=&quot;s3&quot;&gt;v&lt;/span&gt;.elementAt(i);&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
..............................&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
OutPut String Array&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
s[] = {&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;};&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/5605939461758389134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2012/12/convert-vector-to-string-array-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/5605939461758389134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/5605939461758389134'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2012/12/convert-vector-to-string-array-in-java.html' title='Convert Vector to String Array in Java'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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-4741877095687769985.post-2564381561666627739</id><published>2010-11-20T12:46:00.001+05:00</published><updated>2010-11-20T12:46:27.889+05:00</updated><title type='text'></title><content type='html'>Under Construction</content><link rel='replies' type='application/atom+xml' href='http://appdev666.blogspot.com/feeds/2564381561666627739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://appdev666.blogspot.com/2010/11/under-construction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2564381561666627739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4741877095687769985/posts/default/2564381561666627739'/><link rel='alternate' type='text/html' href='http://appdev666.blogspot.com/2010/11/under-construction.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04645189188312736359</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>