mouse pointer position

by Neel » Thu, 21 Jan 2010 21:57:17 GMT

Sponsored Links

I am trying to get the mouse pointer position from a native
I found out that WindowManagerService maintains the mouse cursor
surface object.

Problem is, I am not able to find any interface or way to extract the
object or the relevant information anyhow.

Please Help. :(


mouse pointer position

by Yi Sun » Fri, 22 Jan 2010 01:48:18 GMT

 I don't know which mouse implementation you are using, the one made by
me simulate the touch event for mouse. So you only need to catch the
touch events as other apps do. And you will also need to catch the up
key and down key events for the mouse wheel.


Sponsored Links

Other Threads

1. How to change the fading color in scrollview?

It's the same API/XML attribute for both.

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


2. sms://inbox

Hi All,

I was wondering how I could :

(1) find the documentation specifiying the fields and their possible


(2) I would like to query this Data via the Emulator (adb) , when I
open SqlLite3 command line, I am only able to see a Main database. Can
someone please guide me through the steps to access the content://sms

(3) The main reason I am asking all of this, is that the status field
always seems to be set to -1, I was hoping to diagnose the problem

Thanks in Advance

3. Unhelpful side effect of paying for apps in USD

4. Custom AutocompletionTextView

5. Cupcake: How to accelerate graphic/support OpenGL ES.

6. Unhelpful side effect of paying for apps in USD

7. Context