<?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 on: A J2ME Calendar for all your Canvas!</title>
	<atom:link href="http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/</link>
	<description>Mobile blog by Alessandro La Rosa</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:27:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rajesh</title>
		<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/comment-page-1/#comment-68122</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Tue, 24 May 2011 13:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=39#comment-68122</guid>
		<description>Hi
The Above Appllication runs fine in midlet but when we creat a JAD File it throws Exception
Try This using JAD File</description>
		<content:encoded><![CDATA[<p>Hi<br />
The Above Appllication runs fine in midlet but when we creat a JAD File it throws Exception<br />
Try This using JAD File</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: panthibo</title>
		<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/comment-page-1/#comment-64570</link>
		<dc:creator>panthibo</dc:creator>
		<pubDate>Sun, 24 Apr 2011 20:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=39#comment-64570</guid>
		<description>If you have errors with Math.ceil, try this:
replace
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);
by:
this.weeks = (int)(0.9 + ((double)getStartWeekday() + getMonthDays()) / 7);

It&#039;s working</description>
		<content:encoded><![CDATA[<p>If you have errors with Math.ceil, try this:<br />
replace<br />
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);<br />
by:<br />
this.weeks = (int)(0.9 + ((double)getStartWeekday() + getMonthDays()) / 7);</p>
<p>It&#8217;s working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raj</title>
		<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/comment-page-1/#comment-41977</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Thu, 14 Oct 2010 07:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=39#comment-41977</guid>
		<description>than q. this is very use full</description>
		<content:encoded><![CDATA[<p>than q. this is very use full</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manolo</title>
		<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/comment-page-1/#comment-27103</link>
		<dc:creator>Manolo</dc:creator>
		<pubDate>Fri, 15 Jan 2010 06:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=39#comment-27103</guid>
		<description>Can i do that on Android, anyone can share some codes.</description>
		<content:encoded><![CDATA[<p>Can i do that on Android, anyone can share some codes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rachelwiz</title>
		<link>http://www.jappit.com/blog/2008/05/16/a-j2me-calendar-for-all-your-canvas/comment-page-1/#comment-22900</link>
		<dc:creator>rachelwiz</dc:creator>
		<pubDate>Wed, 23 Sep 2009 12:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=39#comment-22900</guid>
		<description>Hi,

I created a midlet program and tried to compile this Calendar picker application, it gave me the following errors - 

C:\WTK23\apps\CalendarMidlet\src\CalendarWidget.java:79: cannot find symbol
symbol : method ceil(double)
location: class java.lang.Math
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);
^
C:\WTK23\apps\CalendarMidlet\src\CalendarWidget.java:79: inconvertible types
found : java.lang.Math.ceil
required: int
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);
^
2 errors
com.sun.kvem.ktools.ExecutionException
Build failed

I also added &quot;import java.lang.Math;&quot; this line in my code but still its throwing the same error.

what may be the problem? Can you please help me in this.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I created a midlet program and tried to compile this Calendar picker application, it gave me the following errors &#8211; </p>
<p>C:\WTK23\apps\CalendarMidlet\src\CalendarWidget.java:79: cannot find symbol<br />
symbol : method ceil(double)<br />
location: class java.lang.Math<br />
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);<br />
^<br />
C:\WTK23\apps\CalendarMidlet\src\CalendarWidget.java:79: inconvertible types<br />
found : java.lang.Math.ceil<br />
required: int<br />
this.weeks = (int)Math.ceil(((double)getStartWeekday() + getMonthDays()) / 7);<br />
^<br />
2 errors<br />
com.sun.kvem.ktools.ExecutionException<br />
Build failed</p>
<p>I also added &#8220;import java.lang.Math;&#8221; this line in my code but still its throwing the same error.</p>
<p>what may be the problem? Can you please help me in this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

