Dear Robin :

   I import import android.view.View.OnClickListener;

The result is the same. The error is istill existed.

BTW, on another pc, I don't import it. It works.

Thanks.

BR,
Mark


2011/8/1 Robin Talwar <r.o.b.i.n.abhis...@gmail.com>

> 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
>

-- 
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

Reply via email to