<?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 Bloggings of randomness</title>
	<atom:link href="http://blog.cluepusher.dk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cluepusher.dk</link>
	<description>Diary and thoughtspace of Rune B. Broberg</description>
	<lastBuildDate>Thu, 04 Mar 2010 06:23:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Creating a custom CursorAdapter for Android by Tiger</title>
		<link>http://blog.cluepusher.dk/2009/11/16/creating-a-custom-cursoradapter-for-android/comment-page-1/#comment-10702</link>
		<dc:creator>Tiger</dc:creator>
		<pubDate>Thu, 04 Mar 2010 06:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=194#comment-10702</guid>
		<description>suggestions:
1. Move &quot;LayoutInflater inflater = LayoutInflater.from(context);&quot; to construction to avoid execute it every time.
2. Calling bindView() from newView() is not necessary. bindView() will be called after newView() by the framework.

A custom CursorAdapter from one of my projects:
	protected class ActivityCursorAdapter extends CursorAdapter {
		

		private LayoutInflater mInflater;
		private int mActivityIndex;
		private int mTimeIndex;
		private int mActionIndex;
		private int mAmountIndex;

		public ActivityCursorAdapter(Context context, Cursor c) {
			super(context, c);
			
			mActivityIndex = c.getColumnIndex(Notes.ACTIVITY);
			mTimeIndex = c.getColumnIndex(Notes.TIME);
			mActionIndex = c.getColumnIndex(Notes.ACTION);
			mAmountIndex = c.getColumnIndex(Notes.AMOUNT);
			
			mInflater = LayoutInflater.from(context);
		}

		@Override
		public void bindView(View view, Context context, Cursor cursor) {
			TextView activity = (TextView) view.findViewById(android.R.id.text1);
			TextView time = (TextView) view.findViewById(android.R.id.text2);
			TextView actionAndAmount = (TextView) view.findViewById(R.id.text3);
			
			activity.setText(cursor.getString(mActivityIndex));
			
			long lTime = cursor.getLong(mTimeIndex);
			Calendar cal = Calendar.getInstance();
			cal.setTimeInMillis(lTime);
			time.setText(cal.get(Calendar.HOUR_OF_DAY) + &quot;:&quot; + String.format(&quot;%02d&quot;, cal.get(Calendar.MINUTE)));
			
			String amount = cursor.getString(mAmountIndex);
			if ( amount.length() &gt; 0){
				actionAndAmount.setText(cursor.getString(mActionIndex) + &quot; (&quot; + amount + &quot;)&quot;);
			} else {
				actionAndAmount.setText(cursor.getString(mActionIndex));
			}
		}

		@Override
		public View newView(Context context, Cursor cursor, ViewGroup parent) {
			return mInflater.inflate(R.layout.activityitem_list, null);
		}
		
	}</description>
		<content:encoded><![CDATA[<p>suggestions:<br />
1. Move &#8220;LayoutInflater inflater = LayoutInflater.from(context);&#8221; to construction to avoid execute it every time.<br />
2. Calling bindView() from newView() is not necessary. bindView() will be called after newView() by the framework.</p>
<p>A custom CursorAdapter from one of my projects:<br />
	protected class ActivityCursorAdapter extends CursorAdapter {</p>
<p>		private LayoutInflater mInflater;<br />
		private int mActivityIndex;<br />
		private int mTimeIndex;<br />
		private int mActionIndex;<br />
		private int mAmountIndex;</p>
<p>		public ActivityCursorAdapter(Context context, Cursor c) {<br />
			super(context, c);</p>
<p>			mActivityIndex = c.getColumnIndex(Notes.ACTIVITY);<br />
			mTimeIndex = c.getColumnIndex(Notes.TIME);<br />
			mActionIndex = c.getColumnIndex(Notes.ACTION);<br />
			mAmountIndex = c.getColumnIndex(Notes.AMOUNT);</p>
<p>			mInflater = LayoutInflater.from(context);<br />
		}</p>
<p>		@Override<br />
		public void bindView(View view, Context context, Cursor cursor) {<br />
			TextView activity = (TextView) view.findViewById(android.R.id.text1);<br />
			TextView time = (TextView) view.findViewById(android.R.id.text2);<br />
			TextView actionAndAmount = (TextView) view.findViewById(R.id.text3);</p>
<p>			activity.setText(cursor.getString(mActivityIndex));</p>
<p>			long lTime = cursor.getLong(mTimeIndex);<br />
			Calendar cal = Calendar.getInstance();<br />
			cal.setTimeInMillis(lTime);<br />
			time.setText(cal.get(Calendar.HOUR_OF_DAY) + &#8220;:&#8221; + String.format(&#8220;%02d&#8221;, cal.get(Calendar.MINUTE)));</p>
<p>			String amount = cursor.getString(mAmountIndex);<br />
			if ( amount.length() &gt; 0){<br />
				actionAndAmount.setText(cursor.getString(mActionIndex) + &#8221; (&#8221; + amount + &#8220;)&#8221;);<br />
			} else {<br />
				actionAndAmount.setText(cursor.getString(mActionIndex));<br />
			}<br />
		}</p>
<p>		@Override<br />
		public View newView(Context context, Cursor cursor, ViewGroup parent) {<br />
			return mInflater.inflate(R.layout.activityitem_list, null);<br />
		}</p>
<p>	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New Android app: ICSReader by APK for ICSReader -- Bloggings of randomness</title>
		<link>http://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10689</link>
		<dc:creator>APK for ICSReader -- Bloggings of randomness</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=204#comment-10689</guid>
		<description>[...] to the amazing interest shown in my ICS Reader app for Android, I have decided to actually release it! For now, here is the [...]</description>
		<content:encoded><![CDATA[<p>[...] to the amazing interest shown in my ICS Reader app for Android, I have decided to actually release it! For now, here is the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New Android app: ICSReader by Andreas</title>
		<link>http://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10687</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=204#comment-10687</guid>
		<description>Great news!  Finally a calendar that is not dependend on googlecalendar!  I agreee, that support for several calendars is an urgent feature.  But also what is there already seems to be great! Please go ahead and follow the open-source motto: publish early....</description>
		<content:encoded><![CDATA[<p>Great news!  Finally a calendar that is not dependend on googlecalendar!  I agreee, that support for several calendars is an urgent feature.  But also what is there already seems to be great! Please go ahead and follow the open-source motto: publish early&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New Android app: ICSReader by Tomasz Helenowski</title>
		<link>http://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10562</link>
		<dc:creator>Tomasz Helenowski</dc:creator>
		<pubDate>Tue, 23 Feb 2010 22:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=204#comment-10562</guid>
		<description>iCal import/export (or vCal) is critical, particularly in an &quot;open&quot; system. This is another example of the &quot;open&quot; proprietary systems out there. I would gladly pay $20 for an iCal or vCal import/export feature for the calendar to keep all the data local and under my control. It is not there because Google wants access to all our calendars. This is too intrusive on privacy. I have appointments for my patients which I cannot entrust to Google because of HIPAA and would not want to anyway.</description>
		<content:encoded><![CDATA[<p>iCal import/export (or vCal) is critical, particularly in an &#8220;open&#8221; system. This is another example of the &#8220;open&#8221; proprietary systems out there. I would gladly pay $20 for an iCal or vCal import/export feature for the calendar to keep all the data local and under my control. It is not there because Google wants access to all our calendars. This is too intrusive on privacy. I have appointments for my patients which I cannot entrust to Google because of HIPAA and would not want to anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle released Beehive 2.0.1 by mihtjel</title>
		<link>http://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/comment-page-1/#comment-10175</link>
		<dc:creator>mihtjel</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/#comment-10175</guid>
		<description>This is true - but the web client for the calendar (which is a major feature for us) integrated with the email client - with no way of turning off the email part, or using it with an external IMAP. I don&#039;t know if this is changed in 2.0, but I somehow doubt it, given the lukewarm response that was given to our concerns over the subject.</description>
		<content:encoded><![CDATA[<p>This is true &#8211; but the web client for the calendar (which is a major feature for us) integrated with the email client &#8211; with no way of turning off the email part, or using it with an external IMAP. I don&#8217;t know if this is changed in 2.0, but I somehow doubt it, given the lukewarm response that was given to our concerns over the subject.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle released Beehive 2.0.1 by richard</title>
		<link>http://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/comment-page-1/#comment-10173</link>
		<dc:creator>richard</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/#comment-10173</guid>
		<description>Hi,
With the exception of OBEO I don&#039;t think Oracle Beehive requires you use their email server to use their calendar; the &#039;external_inbox&#039; flag on users allows you to route any email received by beehive to a user&#039;s non-beehive email box.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
With the exception of OBEO I don&#8217;t think Oracle Beehive requires you use their email server to use their calendar; the &#8216;external_inbox&#8217; flag on users allows you to route any email received by beehive to a user&#8217;s non-beehive email box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New Android app: ICSReader by Jerry</title>
		<link>http://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10024</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Tue, 02 Feb 2010 07:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=204#comment-10024</guid>
		<description>That&#039;s sounds really great :) I&#039;ve been missing a iCal-reader ever since I bought my Hero. Looking forward to try your app when I&#039;ve installed 2.0 on my Hero.

On my wishlist (but I&#039;d be more than happy with the basic features only):
- Subscription - able to subscribe to calendars published on public Internet sites and private (password protected) WebDAV sites. But perhaps that&#039;s is what you meant in your description.

- CalDAV support</description>
		<content:encoded><![CDATA[<p>That&#8217;s sounds really great <img src='http://blog.cluepusher.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ve been missing a iCal-reader ever since I bought my Hero. Looking forward to try your app when I&#8217;ve installed 2.0 on my Hero.</p>
<p>On my wishlist (but I&#8217;d be more than happy with the basic features only):<br />
- Subscription &#8211; able to subscribe to calendars published on public Internet sites and private (password protected) WebDAV sites. But perhaps that&#8217;s is what you meant in your description.</p>
<p>- CalDAV support</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New Android app: ICSReader by Raj</title>
		<link>http://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-9809</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Fri, 15 Jan 2010 14:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=204#comment-9809</guid>
		<description>This is really needed, but all the way down to 1.5 for those of us still without 2.X.</description>
		<content:encoded><![CDATA[<p>This is really needed, but all the way down to 1.5 for those of us still without 2.X.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xydroid &#8211; Xymon monitoring on Android phones by slight</title>
		<link>http://blog.cluepusher.dk/2009/10/06/xydroid-xymon-monitoring-on-android-phones/comment-page-1/#comment-9807</link>
		<dc:creator>slight</dc:creator>
		<pubDate>Fri, 15 Jan 2010 12:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=173#comment-9807</guid>
		<description>Alerts an a widget would be lovely :)</description>
		<content:encoded><![CDATA[<p>Alerts an a widget would be lovely <img src='http://blog.cluepusher.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xydroid &#8211; Xymon monitoring on Android phones by slight</title>
		<link>http://blog.cluepusher.dk/2009/10/06/xydroid-xymon-monitoring-on-android-phones/comment-page-1/#comment-9806</link>
		<dc:creator>slight</dc:creator>
		<pubDate>Fri, 15 Jan 2010 12:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cluepusher.dk/?p=173#comment-9806</guid>
		<description>Hmm. After going to settings and enabling periodic updates it started working. Most odd!</description>
		<content:encoded><![CDATA[<p>Hmm. After going to settings and enabling periodic updates it started working. Most odd!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
