Android datepicker get date
===

I placed a datepicker on a layout to let the user select their birthday. I have used datepickerdialogs earlier by clicking on a button and bringing the dialog up. But this time the datepicker itself is on the layout and I can select a date. How can I get the date every time the user changes the day, month or the year? 

![enter image description here][1]


  [1]: http://i.stack.imgur.com/4gsp2.png