Did u import onclicklistener library and wots d error line ? On 1 Aug 2011 11:59, "mark2011" <androidmark2...@gmail.com> wrote: Dear All :
I install eclipse & Android SDK under the Windows/XP successful. If I test a program using onClick that I want to click a button, it displays an error. But the code is ok on an another pc. Can anyone help me? my code is that : btnNumberOne.setOnClickListener(new ImageButton.OnClickListener() { @Override public void onClick(View v) { <=====error line Thanks. BR, mark -- 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 -- 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