Thanks for anyone who had gone through my request. anyway i have found
the solution for the issue..
its because in the dispatchTouchEvent the Touch events are blocked.
now i have remodified the code in the dispatchTouchEvent to make it
work
once again thanks for reading it. :)

regards
Zealousian

On Jun 26, 9:22 pm, Zealousian <[email protected]> wrote:
> Hi I have a Querry,
> I am trying to add buttons to theIncallscreen. But after adding the
> buttons, my buttons are not Clickable.
> That’s UI is present in thescreen. I am able to select the Buttons
> using the up down arrow Key. And on pressing OK control is going to my
> OnClickListener
>
> But I am not able to Click the Buttons directly on the UI.
> It looks like some kind of Blocking is there for Click events on 
> theIncallScreen, But still I need to get rid of it. Do suggest. What’s
> the possible way?
>
> My code is as follows.
>
> public class InCallScreen extends Activity
>         implements View.OnClickListener, View.OnTouchListener,
>                 CallerInfoAsyncQuery.OnQueryCompleteListener {
> ..
> ..
>     private Button mEndCall;
>      mEndCall = (Button) findViewById(R.id.EndCall);
>      mEndCall.setOnClickListener(new View.OnClickListener(){
>      public void onClick(View v) {
>      PhoneUtils.hangup(mPhone);
>      //handle the click and End Control here
>
> }});
>
> Thanks and regards
> Zealousian
--~--~---------~--~----~------------~-------~--~----~
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