Possible Duplicate:
getDate with Jquery Datepicker
I have a registration page inside that I have birthdate box. I am entering birthdate inside edittext using datepicker. How to catch this and put into web server. Do I need to parse to get integer ?
Possible Duplicate:
getDate with Jquery Datepicker
I have a registration page inside that I have birthdate box. I am entering birthdate inside edittext using datepicker. How to catch this and put into web server. Do I need to parse to get integer ?
Get reference to your EditText and use getText() method to get the text and on How to put into web server,
This can be one of the way.
Check this,
Android (Java) Simple Send and receive with Server - Fast Setup Challenge
you can try the following, whereby you can get the various components (day, month and year) as integers
final DatePicker datePick = (DatePicker) findViewById(R.id.proposeDate);
int day = datePick.getDayOfMonth();
int month = datePick.getMonth();
int year = datePick.getYear();