java android studio calendar view set date code example Example: android studio create calendar Calendar cal = Calendar.getInstance();