Hi fellow android devvers,
I'm having a weird problem. When I try to update my DatePicker it
crashes, but I dont understand why. Via the debugger I could see the
date[] function is filled the way it should be.
Do you guys see the problem?
String[] date = dateofbirthNode.getStringValue().split("/"); //
"12/31/1969"
DatePicker dateofbirthView = (DatePicker)findViewById
(R.id.editprofile_dateofbirth_picker);
dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date
[1]), Integer.parseInt(date[0]), null);
Thanks in advance!
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---