<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Inside My Orphic Mind</title>
	<atom:link href="http://orphicmind.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://orphicmind.wordpress.com</link>
	<description>Innovation begins with Imagination</description>
	<lastBuildDate>Tue, 04 May 2010 13:30:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='orphicmind.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/cb735aef6c675714536acbd8f2530aed?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Inside My Orphic Mind</title>
		<link>http://orphicmind.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://orphicmind.wordpress.com/osd.xml" title="Inside My Orphic Mind" />
	<atom:link rel='hub' href='http://orphicmind.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Blackberry Compiler Error: Code section too large</title>
		<link>http://orphicmind.wordpress.com/2010/05/02/blackberry-compiler-error-code-section-too-large/</link>
		<comments>http://orphicmind.wordpress.com/2010/05/02/blackberry-compiler-error-code-section-too-large/#comments</comments>
		<pubDate>Sun, 02 May 2010 18:21:07 +0000</pubDate>
		<dc:creator>Shraddha Kulkarni</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[J2ME Polish]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[code section too large]]></category>
		<category><![CDATA[data section too large]]></category>
		<category><![CDATA[j2me]]></category>

		<guid isPermaLink="false">http://orphicmind.wordpress.com/?p=21</guid>
		<description><![CDATA[Code section too large error is thrown when the code file size exceeds 64k size. for a blackberry application cod file size is limited to 64k. It can have 64k code section and 64k data section. When an application file is more than 64k then it is broken in small parts and zipped together to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=21&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Code section too large error is thrown when the code file size exceeds 64k size.<br />
for a blackberry application cod file size is limited to 64k. It can have 64k code section and 64k data section. When an application file is more than 64k then it is broken in small parts and zipped together to form a larger code file.<br />
For example. if application.cod file is 89k then this file will be divided in smaller parts as application-1.cod &#8212; 55k and application-2.cod &#8212; 34k and hen these will be archived together to form a application.cod file. If the class is to large then compiler will not be able to make such division and will throw the error<br />
So whenever such error is shown generally the idea is to divide the larger classes in smaller parts, large methods in smaller ones.<br />
While working on a project on Blackberry platform using J2ME Polish I used to get this message. When i checked the size of all cod files it was less than 64k but still compiler was throwing the error!! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
When i checked polish.CSS file  it was erroneous. </p>
<ol>
1 &#8211; The dot (.) was missing for some of the static styles and pseudo styles. After correcting the errors, the build was successful!! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </ol>
<ol>
2- It seems the &#8220;nested comments&#8221; are sources of ambiguity.<br />
<code>.mainMenuItem {<br />
	margin: 0px;<br />
/*	font-color: #eee;<br />
/*	background-color: #333; */<br />
	border-color: #600; */<br />
	border-width: 2px;<br />
}</code><br />
As in the above code, my code had 2 start of comments and followed by 2 end of comment<br />
It seems that the compiler expects end of comments after a start of comments, 1 pair.<br />
After correcting it like the code below the too large error was gone!!  When comments starts compiler seeks for the end of comment tag. it finds start of comment tag again which suggests that it has a lot of commented data and that&#8217;s why it throws error code section too large. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<code>.mainMenuItem {<br />
	margin: 0px;<br />
/*	font-color: #eee;<br />
	background-color: #333;<br />
	border-color: #600; */<br />
	border-width: 2px;<br />
}</code>
</ol>
<p>My Learning and Suggestion: -<strong> Whenever you are getting errors like code section too large or data section too large don&#8217;t forget  to check your polish.css file for error and wrong syntax.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orphicmind.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orphicmind.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orphicmind.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=21&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orphicmind.wordpress.com/2010/05/02/blackberry-compiler-error-code-section-too-large/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4919035f78ece82a5d41eca6df1e5f41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shraddhak17</media:title>
		</media:content>
	</item>
		<item>
		<title>Porting J2ME Polish Application on Blackberry Storm/9500 series</title>
		<link>http://orphicmind.wordpress.com/2010/04/26/porting-j2me-polish-application-on-blackberry-storm9500-series/</link>
		<comments>http://orphicmind.wordpress.com/2010/04/26/porting-j2me-polish-application-on-blackberry-storm9500-series/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 10:47:51 +0000</pubDate>
		<dc:creator>Shraddha Kulkarni</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[J2ME Polish]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[j2m2]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[storm]]></category>

		<guid isPermaLink="false">http://orphicmind.wordpress.com/?p=30</guid>
		<description><![CDATA[Language:- J2ME Polish Platform:- Blackberry IDE- EasyEclipse 2.1.4 While porting and tuning a J2ME polish application on Blackberry Storm devices, we can not use ItemStateListener and ItemCommandListener both at the same time on an Item placed inside a cell of a TableItem. for example - TableItem tbl = new TableItem(2,3); StringItem si1 = new StringItem("Lable1","Text1"); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=30&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Language:- J2ME Polish<br />
Platform:- Blackberry<br />
IDE- EasyEclipse 2.1.4</p>
<p>While porting and tuning a J2ME polish application on Blackberry Storm devices, we can not use ItemStateListener and ItemCommandListener both at the same time on an Item placed inside a cell of a TableItem.</p>
<p>for example -<br />
<code><br />
TableItem tbl = new TableItem(2,3);<br />
StringItem si1 = new StringItem("Lable1","Text1");<br />
si1.setDefaultCommand(cmd);<br />
si1.setItemCommandListener(this);<br />
tbl.set(0,0, si1);<br />
tbl.setItemStateListener(this);<br />
</code></p>
<p>In the above snippet table has ItemStateListener and SringItem has ItemCommandListener.<br />
For Storm, on press event both the events are fired resulting in the ambiguity!<br />
One of the 2 Listener is sufficient for performing the required action<br />
I will suggest to use ItemStateListener on TableItem and perform the action depending upon the selected row and column.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orphicmind.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orphicmind.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orphicmind.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=30&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orphicmind.wordpress.com/2010/04/26/porting-j2me-polish-application-on-blackberry-storm9500-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4919035f78ece82a5d41eca6df1e5f41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shraddhak17</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello there!</title>
		<link>http://orphicmind.wordpress.com/2010/04/24/hello-world/</link>
		<comments>http://orphicmind.wordpress.com/2010/04/24/hello-world/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 15:02:48 +0000</pubDate>
		<dc:creator>Shraddha Kulkarni</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[J2ME Polish]]></category>

		<guid isPermaLink="false">http://orphicmind.wordpress.com/?p=1</guid>
		<description><![CDATA[Finally&#8230;.. I have got a reason to start blogging!!! Its been almost 3 years that i have been thinking about writing a blog ,&#160; have my own Cyber home where i can share my thought and experience and opinions and many more. But never really had anything to say.&#160; I am a newbie in Mobile [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=1&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally&#8230;.. I have got a reason to start blogging!!! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Its been almost 3 years that i have been thinking about writing a blog ,&nbsp; have my own Cyber home where i can share my thought and experience and opinions and many more. But never really had anything to say.&nbsp; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I am a newbie in Mobile Application development. Currently, I am working on Blackberry and Nokia devices using J2ME Polish. Mobile is one of the fastest growing field and the study material you get is comparatively very less! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &nbsp;It will be my pleasure to share my experience through this Blog. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Say cheeeeeze &nbsp;:D</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orphicmind.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orphicmind.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orphicmind.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orphicmind.wordpress.com&amp;blog=13302960&amp;post=1&amp;subd=orphicmind&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orphicmind.wordpress.com/2010/04/24/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4919035f78ece82a5d41eca6df1e5f41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shraddhak17</media:title>
		</media:content>
	</item>
	</channel>
</rss>
