Hello everyone,
I was able to modify Activity Starter (as a new extension call Xactivity Starter) to allow setting beginTime and endTime of an event into Android calendar.
The change to code source was trivial :
if (key.length() != 0 && value.length() != 0) {
Log.i("ActivityStarter", "Adding extra (pairs), key = " + key + " value = " + value);
if (key.startsWith("B.")) {
key = key.substring(2);
intent.putExtra(key, Byte.parseByte(value)); };
if (key.startsWith("l.")) {
key = key.substring(2);
intent.putExtra(key, Long.parseLong(value));}
else intent.putExtra(key, value);
}
}
return intent;
}
Any key starting with "B." or "l." will be passed as boolean or long respectively.
Example of use :
Enjoy !