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;
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
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
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.
--
4 matches
Mail list logo