this.status=status;
}
- public static Attendee[] getAttendeesByEvent(final Context context, final int eventID){
+ public static Attendee[] getAttendeesByEvent(final Context context, final long eventID){
final ContentResolver cr=context.getContentResolver();
final Cursor cursor = Attendees.query(cr, eventID, PROJECTION);
cursor.moveToFirst();
this.calendarID=calendarID;
}
- public static Event[] getEventsByCalendar(final Context context, final int calendarID, final String sort){
+ public static Event[] getEventsByCalendar(final Context context, final long calendarID, final String sort){
final ContentResolver cr=context.getContentResolver();
final Cursor cursor = cr.query(Events.CONTENT_URI,
PROJECTION,
Events.CALENDAR_ID+" = ?",
- new String[]{Integer.toString(calendarID)},
+ new String[]{Long.toString(calendarID)},
sort);
cursor.moveToFirst();
final Event[] events = new Event[cursor.getCount()];