Skip to content Skip to sidebar Skip to footer

Get Date From Calendarview To Other Activity

I need to take the date information from a CalendarView into another activity so that i can store the information in a database properly. The activity I need to use the date on is

Solution 1:

to transfer data between activities you can use use baskets

The activity which you generate the data

     i = newIntent(this, DeleteAppointment.class);
     i.putExtra("name", strFirstName);
     startActivity(i);

The activity which you are retrieving the data

@OverrideprotectedvoidonHandleIntent(Intent intent)
{
    String action = intent.getAction();

    String name= intent.getStringExtra("name");



}

Post a Comment for "Get Date From Calendarview To Other Activity"