<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments for Thinking BlackBerry</title>
	<atom:link href="http://www.thinkingblackberry.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thinkingblackberry.com</link>
	<description>A gentle introduction to BlackBerry development</description>
	<pubDate>Thu, 11 Mar 2010 20:41:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on BlackBerry Grid Layout Manager updated by _Jon</title>
		<link>http://www.thinkingblackberry.com/archives/133/comment-page-1#comment-228</link>
		<dc:creator>_Jon</dc:creator>
		<pubDate>Sat, 06 Mar 2010 04:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=133#comment-228</guid>
		<description>Thank you.
I was even able to embed a HorizFM in a 'cell' of a grid and get two smaller items to fit in a column.  It works fantastic. 

It should have been included in the default UI tooset.</description>
		<content:encoded><![CDATA[<p>Thank you.<br />
I was even able to embed a HorizFM in a &#8216;cell&#8217; of a grid and get two smaller items to fit in a column.  It works fantastic. </p>
<p>It should have been included in the default UI tooset.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BlackBerry Grid Layout Manager updated by Chris K</title>
		<link>http://www.thinkingblackberry.com/archives/133/comment-page-1#comment-227</link>
		<dc:creator>Chris K</dc:creator>
		<pubDate>Fri, 05 Mar 2010 19:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=133#comment-227</guid>
		<description>Like Achim I added some code to autosize remaining columns (except I used negative numbers).

I also had a problem when tilting the Storm - it didn't update the widths.  This was because one run through would save the widths for whichever orientation it was on, and then tilting it, it would redraw with the other widths.

I've changed the class member columnWidths to givenColumnWidths and made the following changes to the sublayout method:

        int[] columnWidths = new int[columns];
        if (givenColumnWidths == null) {
            for(int i = 0; i &#60; columns; i++) {
                columnWidths[i] = width/columns;
            }
        }else{
            int calcWidth = 0;
            int negCount = 0;
            for(int i = 0; i &#60; givenColumnWidths.length; i++){
                if( givenColumnWidths[i]  0 ){
                // split width with negative columns
                for(int i = 0; i &#60; givenColumnWidths.length; i++){
                    if( givenColumnWidths[i] &#60; 0 ){
                        columnWidths[i] = (width - calcWidth)/negCount;
                    }else{
                        columnWidths[i] = givenColumnWidths[i];
                    }
                }
            }
        }</description>
		<content:encoded><![CDATA[<p>Like Achim I added some code to autosize remaining columns (except I used negative numbers).</p>
<p>I also had a problem when tilting the Storm - it didn&#8217;t update the widths.  This was because one run through would save the widths for whichever orientation it was on, and then tilting it, it would redraw with the other widths.</p>
<p>I&#8217;ve changed the class member columnWidths to givenColumnWidths and made the following changes to the sublayout method:</p>
<p>        int[] columnWidths = new int[columns];<br />
        if (givenColumnWidths == null) {<br />
            for(int i = 0; i &lt; columns; i++) {<br />
                columnWidths[i] = width/columns;<br />
            }<br />
        }else{<br />
            int calcWidth = 0;<br />
            int negCount = 0;<br />
            for(int i = 0; i &lt; givenColumnWidths.length; i++){<br />
                if( givenColumnWidths[i]  0 ){<br />
                // split width with negative columns<br />
                for(int i = 0; i &lt; givenColumnWidths.length; i++){<br />
                    if( givenColumnWidths[i] &lt; 0 ){<br />
                        columnWidths[i] = (width - calcWidth)/negCount;<br />
                    }else{<br />
                        columnWidths[i] = givenColumnWidths[i];<br />
                    }<br />
                }<br />
            }<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome Justin! by John</title>
		<link>http://www.thinkingblackberry.com/archives/254/comment-page-1#comment-226</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 04 Mar 2010 18:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=254#comment-226</guid>
		<description>Anthony-

I had a question regarding the Location chapter in your book "Beginning Blackberry." In short I am trying to use cell site location. It works great on the simulator, but when i try it on my Verizon 8830 running 4.5.0.174 and it is perpetually searching and will never return a location or error.

Would you be able to help or do you have any other suggestions?

Thanks,
John</description>
		<content:encoded><![CDATA[<p>Anthony-</p>
<p>I had a question regarding the Location chapter in your book &#8220;Beginning Blackberry.&#8221; In short I am trying to use cell site location. It works great on the simulator, but when i try it on my Verizon 8830 running 4.5.0.174 and it is perpetually searching and will never return a location or error.</p>
<p>Would you be able to help or do you have any other suggestions?</p>
<p>Thanks,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a BlackBerry app - MIDP or BlackBerry CLDC? by BC</title>
		<link>http://www.thinkingblackberry.com/archives/140/comment-page-1#comment-225</link>
		<dc:creator>BC</dc:creator>
		<pubDate>Thu, 04 Mar 2010 17:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=140#comment-225</guid>
		<description>Very helpful. Thanks!</description>
		<content:encoded><![CDATA[<p>Very helpful. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BlackBerry UI - Creating a basic field manager by Steve</title>
		<link>http://www.thinkingblackberry.com/archives/74/comment-page-1#comment-224</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 04 Mar 2010 16:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=74#comment-224</guid>
		<description>Thank you for this post and blog, has been really helpful!</description>
		<content:encoded><![CDATA[<p>Thank you for this post and blog, has been really helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making a Custom Screen, Vertically Scrolling and more by Partha</title>
		<link>http://www.thinkingblackberry.com/archives/201/comment-page-1#comment-222</link>
		<dc:creator>Partha</dc:creator>
		<pubDate>Tue, 02 Mar 2010 08:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=201#comment-222</guid>
		<description>thanks for your code..
its very helpfull to me</description>
		<content:encoded><![CDATA[<p>thanks for your code..<br />
its very helpfull to me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple BlackBerry Grid Layout Manager by Rajasekar</title>
		<link>http://www.thinkingblackberry.com/archives/116/comment-page-1#comment-221</link>
		<dc:creator>Rajasekar</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=116#comment-221</guid>
		<description>hi to all
i am new for black berry.i create grid field with 6 columns&#38;3 rows.i want to focus each row when the cursor moving..but i can’t able to focus the row …please any one help me…</description>
		<content:encoded><![CDATA[<p>hi to all<br />
i am new for black berry.i create grid field with 6 columns&amp;3 rows.i want to focus each row when the cursor moving..but i can’t able to focus the row …please any one help me…</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BlackBerry CustomButtonField and GridFieldManager together at last by Sancho</title>
		<link>http://www.thinkingblackberry.com/archives/194/comment-page-1#comment-218</link>
		<dc:creator>Sancho</dc:creator>
		<pubDate>Sat, 27 Feb 2010 05:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=194#comment-218</guid>
		<description>Absolutely wonderful.  As a noob to BB and Java, this is great.  Thanks for such easy to follow code.</description>
		<content:encoded><![CDATA[<p>Absolutely wonderful.  As a noob to BB and Java, this is great.  Thanks for such easy to follow code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What would you like to know about BlackBerry development? by pspet</title>
		<link>http://www.thinkingblackberry.com/archives/208/comment-page-1#comment-216</link>
		<dc:creator>pspet</dc:creator>
		<pubDate>Mon, 22 Feb 2010 22:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=208#comment-216</guid>
		<description>Hi, im doing a research on the viability of a possible application. I need to know if it is possible to monitor/collect statistics and errors of BB phone/network services.

If yes, can it be done entirely with Java?

Thanks...</description>
		<content:encoded><![CDATA[<p>Hi, im doing a research on the viability of a possible application. I need to know if it is possible to monitor/collect statistics and errors of BB phone/network services.</p>
<p>If yes, can it be done entirely with Java?</p>
<p>Thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BlackBerry JDE Plug-In for Eclipse 1.1 Beta - Part 1 by Johann Medina</title>
		<link>http://www.thinkingblackberry.com/archives/260/comment-page-1#comment-215</link>
		<dc:creator>Johann Medina</dc:creator>
		<pubDate>Fri, 19 Feb 2010 05:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thinkingblackberry.com/?p=260#comment-215</guid>
		<description>Thank you so much this is the issue i had.</description>
		<content:encoded><![CDATA[<p>Thank you so much this is the issue i had.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
