Guest User

Untitled

a guest
Oct 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Cursor cur = Calendar.Events.query(getContext().getContentResolver(),
  2. projections
  3. );
  4.  
  5. while (cur.moveToNext()) {
  6. Calendar.Event event = Calendar.Events.getEventFromCursor(cur);
  7.  
  8. // Do something useful with the value.
  9.  
  10. }
Add Comment
Please, Sign In to add comment