I thought it is easier to understand  problem if I post my code like 
this....Sorry for that ... Any way I solved my problem by creating a method 

public void ButtonOnClick(View view) 

in my MesureSizeActivity class.....And I got the solution from 
http://stackoverflow.com/questions/12671397/onclicklistener-on-view-classfor 
the same question..

Thanks TerKing for your reply...........

On Tuesday, 2 October 2012 05:05:48 UTC+5:30, TreKing wrote:
>
> On Mon, Oct 1, 2012 at 3:14 AM, Haris <[email protected] <javascript:>>wrote:
>
>> While I am pressing the button I got the error like
>>
>> Could not find a method ButtonOnClick(View) in the activity class 
>> com.example.sizemesurment_1.MesureSizeActivity for onClick handler on view 
>> class android.widget.Button with id 'up'
>>
>
> Google this error, minus all the you-app-specific stuff. So something like 
> this:
> "Could not find a method" "in the activity" "for onClick handler on view 
> class" "with id"
>
> Also, please post less code - only as much as you need to explain the 
> problem. Too much and people's eyes will glaze over and they will move on 
> to something else.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>
>

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

Reply via email to