AFAIK, you cannot get screen coordinates from OnClickListener. You probably want OnTouchListener:
http://developer.android.com/reference/android/view/View.OnTouchListener.html On Fri, Sep 30, 2011 at 4:06 AM, satheesh thinagaran <[email protected]> wrote: > > > > hi, > I want to retrieve screen coordinates at runtime using OnClickListener.... > plz help me... > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0 Available! -- 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

