This is my code to view an event selected from a ListActivity (events is the ArrayList containing all those events):
events
Uri viewUri = Uri.parse(\"c
I think you may want to put a null check before parsing:
null
long endTime = 0L;//use some default value if( events.get(position).endTime != null) endTime = Long.parseLong(events.get(position).endTime); } l_intent.putExtra("endTime", endTime );