You need to have a view with the specified id... E.g... R.id.dateDisplay needs a view with an id in the xml set to "dateDisplay"
On Jan 13, 2010 10:21 AM, "yoyo hsu" <[email protected]> wrote: I looked through everything possible, still can't get it to work. Have 2 errors, "R.id cannot be resolved" on mDateDisplay = (TextView) findViewById(R.id.dateDisplay); mPickDate = (Button) findViewById(R.id.pickDate); what's wrong? can someone post the whole code of HelloDatePicker.java please. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected]<android-beginners%[email protected]> For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

