<?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-8920971830845386715</id><updated>2024-09-09T01:55:02.939-07:00</updated><title type='text'>Blackberry Development</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></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-8920971830845386715.post-192940706358634113</id><published>2011-05-24T14:02:00.000-07:00</published><updated>2011-05-24T14:03:49.307-07:00</updated><title type='text'>Moving to a New Screen with pushScreen</title><content type='html'>You can move to a new screen really easily but pushScreen. Create a new .java file named &lt;b&gt;Question1.java&lt;/b&gt;. This will be our new screen. The basic new screen class is below, fill in the class name and constructor to the name of you java file.&lt;br /&gt;
&lt;blockquote style=&quot;background-color: #cccccc;&quot;&gt;&lt;i&gt;/**&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;* A class extending the MainScreen class, which provides default standard&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;* behavior for BlackBerry GUI applications.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;*/&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public final class Question1 extends MainScreen&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Creates a new Question1 object&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Question1()&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set the displayed title of the screen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTitle(&quot;Question 1&quot;);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;/blockquote&gt;So now, we can add a button, and make the button listener move to the new screen. This code should be in the &quot;MyScreen&quot; (your main screen) java file.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;background-color: #cccccc;&quot;&gt;&lt;i&gt;ButtonField btnNext = new ButtonField(&quot;Next question (2)&quot;, ButtonField.CONSUME_CLICK);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldChangeListener customListener = new FieldChangeListener() {&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void fieldChanged(Field field, int context)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;UiApplication.getUiApplication().pushScreen(new Question1());&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; btnNext.setChangeListener(customListener); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.add(btnNext);&lt;/i&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/192940706358634113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/moving-to-new-screen-with-pushscreen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/192940706358634113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/192940706358634113'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/moving-to-new-screen-with-pushscreen.html' title='Moving to a New Screen with pushScreen'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-4512482598346072617</id><published>2011-05-14T15:58:00.000-07:00</published><updated>2011-05-14T15:58:54.807-07:00</updated><title type='text'>Blackberry RadioButtonField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/RadioButtonField.html&quot;&gt;Blackberry RadioButtonField&lt;/a&gt;.&lt;br /&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/AVvXsEgjOuPQtu8OITvY5kK2syv3yC2YFghYasOp13uaTjtlOrI0pVXui4gQxYYQ0l3dL4bpS3BvglKSGkmg8vSrF382qzlrj9b_rPvgYe64c1gfdvMWv-B58Eub-fMGphR9y_6LYGuv0GGjk8Q/s1600/rbf.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/AVvXsEgjOuPQtu8OITvY5kK2syv3yC2YFghYasOp13uaTjtlOrI0pVXui4gQxYYQ0l3dL4bpS3BvglKSGkmg8vSrF382qzlrj9b_rPvgYe64c1gfdvMWv-B58Eub-fMGphR9y_6LYGuv0GGjk8Q/s320/rbf.PNG&quot; width=&quot;261&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new set of radio buttons in a group&lt;br /&gt;
&amp;nbsp;RadioButtonGroup rgrp = new RadioButtonGroup();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;//new radio to the group&lt;br /&gt;
&amp;nbsp;RadioButtonField radio = new RadioButtonField(&quot;Radio Button 1&quot;, rgrp, true);&lt;br /&gt;
&amp;nbsp;add(radio);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;//another radio to the group&lt;br /&gt;
&amp;nbsp;RadioButtonField radio2 = new RadioButtonField(&quot;Radio Button 2&quot;, rgrp, false);&lt;br /&gt;
&amp;nbsp;add(radio2);&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBRadioButtonField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/4512482598346072617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-radiobuttonfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/4512482598346072617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/4512482598346072617'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-radiobuttonfield-example.html' title='Blackberry RadioButtonField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjOuPQtu8OITvY5kK2syv3yC2YFghYasOp13uaTjtlOrI0pVXui4gQxYYQ0l3dL4bpS3BvglKSGkmg8vSrF382qzlrj9b_rPvgYe64c1gfdvMWv-B58Eub-fMGphR9y_6LYGuv0GGjk8Q/s72-c/rbf.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-5726059605580680737</id><published>2011-05-14T15:54:00.000-07:00</published><updated>2011-05-19T09:38:23.641-07:00</updated><title type='text'>Blackberry BitmapField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/BitmapField.html&quot;&gt;Blackberry BitmapField&lt;/a&gt;.&lt;br /&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/AVvXsEigRUQ-41Z7bQ_LW4lf7-g6PI_LKVqieCxa67muGa54t23VaMHWLGRbBUPDrnAIpR-drJOw7W5WzzRHGaJrGKaUnjdUGgzWVByo7z4fO49KOOR17GqHFTd5Wpun0SvslfX4EA14WNYl-c8/s1600/bm.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/AVvXsEigRUQ-41Z7bQ_LW4lf7-g6PI_LKVqieCxa67muGa54t23VaMHWLGRbBUPDrnAIpR-drJOw7W5WzzRHGaJrGKaUnjdUGgzWVByo7z4fO49KOOR17GqHFTd5Wpun0SvslfX4EA14WNYl-c8/s320/bm.PNG&quot; width=&quot;271&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new BitmapField&lt;br /&gt;
&amp;nbsp;Bitmap bm = Bitmap.getBitmapResource(&quot;images/test.png&quot;);&lt;br /&gt;
&amp;nbsp;BitmapField bf = new BitmapField(bm, BitmapField.FOCUSABLE);&lt;br /&gt;
&amp;nbsp;add(bf);&lt;/div&gt;&lt;br /&gt;
You can add images to development folder where the source files are.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBBitmapField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/5726059605580680737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-bitmapfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/5726059605580680737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/5726059605580680737'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-bitmapfield-example.html' title='Blackberry BitmapField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigRUQ-41Z7bQ_LW4lf7-g6PI_LKVqieCxa67muGa54t23VaMHWLGRbBUPDrnAIpR-drJOw7W5WzzRHGaJrGKaUnjdUGgzWVByo7z4fO49KOOR17GqHFTd5Wpun0SvslfX4EA14WNYl-c8/s72-c/bm.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-5373183697793090880</id><published>2011-05-14T15:45:00.000-07:00</published><updated>2011-05-14T15:45:20.417-07:00</updated><title type='text'>Blackberry PasswordEditField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/PasswordEditField.html&quot;&gt;Blackberry PasswordEditField&lt;/a&gt;.&lt;br /&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/AVvXsEgaU6W4LdNMLr0SsgI4X4RmYDoVlREAuXH5_aYlRJgkRHvW5r2PITPmzrmuPHPzdZVn5NhsbTuCQ9vJm2kq8CXmdJuxh2ksE7pv8enO4MUQSm9DcGMYkiqiiznBjRlQo7RhUA4OIKQjMTg/s1600/pef.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/AVvXsEgaU6W4LdNMLr0SsgI4X4RmYDoVlREAuXH5_aYlRJgkRHvW5r2PITPmzrmuPHPzdZVn5NhsbTuCQ9vJm2kq8CXmdJuxh2ksE7pv8enO4MUQSm9DcGMYkiqiiznBjRlQo7RhUA4OIKQjMTg/s320/pef.PNG&quot; width=&quot;247&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new PasswordEditField&lt;br /&gt;
&amp;nbsp;PasswordEditField pwf = new PasswordEditField();&lt;br /&gt;
&amp;nbsp;add(pwf);&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new PasswordEditField with label and initial value&lt;br /&gt;
&amp;nbsp;PasswordEditField pwf2 = new PasswordEditField(&quot;Password: &quot;, &quot;mypassword&quot;);&lt;br /&gt;
&amp;nbsp;add(pwf2); &lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBPasswordEditField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/5373183697793090880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-passwordeditfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/5373183697793090880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/5373183697793090880'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-passwordeditfield-example.html' title='Blackberry PasswordEditField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaU6W4LdNMLr0SsgI4X4RmYDoVlREAuXH5_aYlRJgkRHvW5r2PITPmzrmuPHPzdZVn5NhsbTuCQ9vJm2kq8CXmdJuxh2ksE7pv8enO4MUQSm9DcGMYkiqiiznBjRlQo7RhUA4OIKQjMTg/s72-c/pef.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-2534930898880770837</id><published>2011-05-14T15:36:00.000-07:00</published><updated>2011-05-14T15:37:10.525-07:00</updated><title type='text'>Blackberry EditField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/EditField.html&quot;&gt;Blackberry EditField&lt;/a&gt;.&lt;br /&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/AVvXsEgS5uNPIlnaqJnxz9fbxEgGf1Bobc5UW2SrEHD4W9o0j7IGGKDFC_lR6LJzioFrX1dXMmaNrGhuCKHW6RhuSGA8nqWApkgE4a5eT2aXp23bY0v38Fs9PxiVI753BqK7R8xzOsL4tD6kGbc/s1600/editfield.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/AVvXsEgS5uNPIlnaqJnxz9fbxEgGf1Bobc5UW2SrEHD4W9o0j7IGGKDFC_lR6LJzioFrX1dXMmaNrGhuCKHW6RhuSGA8nqWApkgE4a5eT2aXp23bY0v38Fs9PxiVI753BqK7R8xzOsL4tD6kGbc/s320/editfield.PNG&quot; width=&quot;276&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new editfield&lt;br /&gt;
&amp;nbsp;EditField ef = new EditField();&lt;br /&gt;
&amp;nbsp;add(ef);&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new editfield with default text and label&lt;br /&gt;
&amp;nbsp;EditField ef2 = new EditField(&quot;Message:&quot;, &quot;Hello World!&quot;);&lt;br /&gt;
&amp;nbsp;add(ef2);&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBEditField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/2534930898880770837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-editfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/2534930898880770837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/2534930898880770837'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-editfield-example.html' title='Blackberry EditField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS5uNPIlnaqJnxz9fbxEgGf1Bobc5UW2SrEHD4W9o0j7IGGKDFC_lR6LJzioFrX1dXMmaNrGhuCKHW6RhuSGA8nqWApkgE4a5eT2aXp23bY0v38Fs9PxiVI753BqK7R8xzOsL4tD6kGbc/s72-c/editfield.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-7964278281574278202</id><published>2011-05-14T15:27:00.000-07:00</published><updated>2011-05-14T15:28:23.647-07:00</updated><title type='text'>Blackberry RichTextField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/RichTextField.html&quot;&gt;Blackberry RichTextField&lt;/a&gt;.&lt;br /&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/AVvXsEigdrYGgFV0ZeTw-IouKGWzQJrxZk04GEM1OMbHcbMHzEEkK2yL-EqBPREFOYpm1WNsx0SCLQQPym3kmXSeIlg6TgXEljwJmKrodmfDCIKOUWYXoinlZj6NJWKw80WYH73YFJDOo4VfkLU/s1600/rtf.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/AVvXsEigdrYGgFV0ZeTw-IouKGWzQJrxZk04GEM1OMbHcbMHzEEkK2yL-EqBPREFOYpm1WNsx0SCLQQPym3kmXSeIlg6TgXEljwJmKrodmfDCIKOUWYXoinlZj6NJWKw80WYH73YFJDOo4VfkLU/s320/rtf.PNG&quot; width=&quot;232&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new RichTextField&lt;br /&gt;
&amp;nbsp;RichTextField rtf = new RichTextField();&lt;br /&gt;
&amp;nbsp;add(rtf);&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new RichTextField with a style, in this case &quot;non focusable&quot;&lt;br /&gt;
&amp;nbsp;RichTextField rtf2 = new RichTextField(NON_FOCUSABLE);&lt;br /&gt;
&amp;nbsp;add(rtf2);&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//create a new RichTextField with default text&lt;br /&gt;
&amp;nbsp;RichTextField rtf3 = new RichTextField(&quot;Hello World!&quot;);&lt;br /&gt;
&amp;nbsp;add(rtf3);&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBRichTextField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/7964278281574278202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-richtextfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/7964278281574278202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/7964278281574278202'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-richtextfield-example.html' title='Blackberry RichTextField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigdrYGgFV0ZeTw-IouKGWzQJrxZk04GEM1OMbHcbMHzEEkK2yL-EqBPREFOYpm1WNsx0SCLQQPym3kmXSeIlg6TgXEljwJmKrodmfDCIKOUWYXoinlZj6NJWKw80WYH73YFJDOo4VfkLU/s72-c/rtf.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8920971830845386715.post-6021184873466398455</id><published>2011-05-14T15:04:00.000-07:00</published><updated>2011-05-14T15:04:59.906-07:00</updated><title type='text'>Blackberry LabelField Example</title><content type='html'>How to use &lt;a href=&quot;http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/ui/component/LabelField.html&quot;&gt;Blackberry LabelField&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//new labelfield with no default text&lt;br /&gt;
&amp;nbsp;LabelField lf = new LabelField();&lt;br /&gt;
&amp;nbsp;lf.setText(&quot;Hello World!&quot;);&lt;br /&gt;
&amp;nbsp;add(lf);&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;&amp;nbsp;//new labelfield with default text &lt;br /&gt;
&amp;nbsp;LabelField lf2 = new LabelField(&quot;Hello World!&quot;);&lt;br /&gt;
&amp;nbsp;add(lf2);&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lerietaylor.com/dl/BBLabelField.zip&quot;&gt;Download Project Source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blackberryprogrammers.blogspot.com/feeds/6021184873466398455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-labelfield-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/6021184873466398455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8920971830845386715/posts/default/6021184873466398455'/><link rel='alternate' type='text/html' href='http://blackberryprogrammers.blogspot.com/2011/05/blackberry-labelfield-example.html' title='Blackberry LabelField Example'/><author><name>LerieT</name><uri>http://www.blogger.com/profile/10507288184890403745</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Mz9tm50HNmR6yYEfRhLhLthqeRhjTI6t7Y69jXSGlCQS9oFqC6VpZUgi1HK9OfOWn1RrNsQeS1hreX0n6X2FeJZFlKxIUTuhxypFipOl8DofCrlucjg3TCBdslN6JQ/s220/9090cv.png'/></author><thr:total>0</thr:total></entry></feed>