> 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);
What did the Java stack trace tell you? You can view that via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---