Hi Veerendra,

I think you could probably set an onTouchEventListener on any view
that fills the whole screen (your root element in your XML layout if
it's dimensions are both fill_parent) and then inside the
OnTouchEventListener use event.getX() and event.getY() for your co-
ordinates. Hope this helps!

Adam

On Apr 22, 1:39 am, Veeru <[email protected]> wrote:
> Hi Friends,
>
> How can I get the x, y co-ordinates of my touch event on any screen
> irrespective of any activity?
>
> I have seen the following 
> query...http://groups.google.com/group/android-developers/browse_thread/threa...
>
> But I do not want to make changes in the activity. I just want generic
> click co-ordinates for any activity. Is there any way to get this info
> from the window manager?
>
> Any pointers on this will be very helpful.
>
> Thanks,
> -Veerendra
>
> --
> 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 
> athttp://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 [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