Comments for Bloggings of randomness https://blog.cluepusher.dk Diary and thoughtspace of Rune B. Broberg Wed, 26 May 2010 16:29:58 +0000 hourly 1 https://wordpress.org/?v=5.7.11 Comment on APK for ICSReader by Andreas https://blog.cluepusher.dk/2010/03/03/apk-for-icsreader/comment-page-1/#comment-13935 Wed, 26 May 2010 16:29:58 +0000 http://blog.cluepusher.dk/?p=211#comment-13935 How about the source code? I guess most people with Android phones don’t hesitate to use google for all tasks. But everyone else would be interested in the code.

]]>
Comment on APK for ICSReader by DrDice https://blog.cluepusher.dk/2010/03/03/apk-for-icsreader/comment-page-1/#comment-12435 Sat, 24 Apr 2010 15:07:53 +0000 http://blog.cluepusher.dk/?p=211#comment-12435 Hi

Very very sweet. Just the app I was looking for. What about to team up with the author of Calendar (CalDAV) Sync?

He has created a app that an sync external CalDAV calendar with the real calendar app for android, but unfortunally his app lack the support of ics files.

]]>
Comment on APK for ICSReader by Mario https://blog.cluepusher.dk/2010/03/03/apk-for-icsreader/comment-page-1/#comment-11552 Fri, 02 Apr 2010 22:43:02 +0000 http://blog.cluepusher.dk/?p=211#comment-11552 Thank you for releasing the app.
I just can’t wait for android 2.1 for my htc hero to test it!
ATM im running 1.5 🙁
Is there a technical reason why you only support 2.X devices?
There are many devices out there running on 1.X versions, it would be nice if you also can support this devices.
Thank you Mario

]]>
Comment on New Android app: ICSReader by Darren Moffat https://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-11509 Wed, 31 Mar 2010 16:01:59 +0000 http://blog.cluepusher.dk/?p=204#comment-11509 Sounds great, while I have a solution using NotifyLink and the TouchDown Android App I’d rather have the ability to sync ics and caldav directly.

]]>
Comment on Writing Parcelable classes for Android by Sebastian https://blog.cluepusher.dk/2009/10/28/writing-parcelable-classes-for-android/comment-page-1/#comment-11457 Mon, 29 Mar 2010 02:19:18 +0000 http://blog.cluepusher.dk/?p=187#comment-11457 Hey, nice, but I don’t get the in.readInt() or in.writeInt() used on the fors.

Seems that readInt() returns you the size of the in parcel, but the reference says:

public final void writeInt (int val)

Write an integer value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

public final int readInt ()

Read an integer value from the parcel at the current dataPosition().

Can you explain that a little more? regards,

]]>
Comment on Creating a custom CursorAdapter for Android by Tiger https://blog.cluepusher.dk/2009/11/16/creating-a-custom-cursoradapter-for-android/comment-page-1/#comment-10702 Thu, 04 Mar 2010 06:23:24 +0000 http://blog.cluepusher.dk/?p=194#comment-10702 suggestions:
1. Move “LayoutInflater inflater = LayoutInflater.from(context);” 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) + “:” + String.format(“%02d”, cal.get(Calendar.MINUTE)));

String amount = cursor.getString(mAmountIndex);
if ( amount.length() > 0){
actionAndAmount.setText(cursor.getString(mActionIndex) + ” (” + amount + “)”);
} else {
actionAndAmount.setText(cursor.getString(mActionIndex));
}
}

@Override
public View newView(Context context, Cursor cursor, ViewGroup parent) {
return mInflater.inflate(R.layout.activityitem_list, null);
}

}

]]>
Comment on New Android app: ICSReader by APK for ICSReader -- Bloggings of randomness https://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10689 Wed, 03 Mar 2010 20:10:09 +0000 http://blog.cluepusher.dk/?p=204#comment-10689 […] to the amazing interest shown in my ICS Reader app for Android, I have decided to actually release it! For now, here is the […]

]]>
Comment on New Android app: ICSReader by Andreas https://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10687 Wed, 03 Mar 2010 19:06:35 +0000 http://blog.cluepusher.dk/?p=204#comment-10687 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….

]]>
Comment on New Android app: ICSReader by Tomasz Helenowski https://blog.cluepusher.dk/2009/11/25/new-android-app-icsreader/comment-page-1/#comment-10562 Tue, 23 Feb 2010 22:25:54 +0000 http://blog.cluepusher.dk/?p=204#comment-10562 iCal import/export (or vCal) is critical, particularly in an “open” system. This is another example of the “open” 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.

]]>
Comment on Oracle released Beehive 2.0.1 by mihtjel https://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/comment-page-1/#comment-10175 Mon, 08 Feb 2010 19:42:30 +0000 http://blog.cluepusher.dk/2010/02/07/oracle-released-beehive-2-0-1/#comment-10175 In reply to richard.

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’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.

]]>