[android-developers] Re: android Date picker

2011-08-10 Thread syed akhtar ali
try this code: change the package name. package com.start; import java.util.Calendar; import com.start.R.id; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.Intent; import android.os.Bundle;

[android-developers] Re: Android Date Picker

2008-12-08 Thread Mark Murphy
Muthu Kumar K. wrote: > Can any you give me some example, because i am new to Android. ApiDemos/src/com/example/android/apis/view/DateWidgets1.java That example of DatePickerDialog can be found in the samples/ directory of your SDK installation. -- Mark Murphy (a Commons Guy) http://commonswa

[android-developers] Re: Android Date Picker

2008-12-08 Thread Muthu Kumar K.
hi, Can any you give me some example, because i am new to Android. Thanks, Muthu Kumar K. On Dec 8, 5:38 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Muthu Kumar K. wrote: > > can any one help me how do i get the date form DatePicker? > > It should be provided to the DatePicker.OnDateChangedListe

[android-developers] Re: Android Date Picker

2008-12-08 Thread Mark Murphy
Muthu Kumar K. wrote: > can any one help me how do i get the date form DatePicker? It should be provided to the DatePicker.OnDateChangedListener you gave the picker. Or, if you are using DatePickerDialog, it should be provided to the DatePickerDialog.OnDateSetListener you gave the dialog. --