mouse pointer position

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


Sponsored Links
 Hi,

I am trying to get the mouse pointer position from a native
application.
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. :(

Regards,
Neel.



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.






-- 
Android-x86
 http://www.android-x86.org 


Sponsored Links


Other Threads

1. drawing a circle using OpenGL ES

Hi,

I've been working  on a small app for my phone, and I wanted to add a
feature that needs
a circle to be drawn to screen. I was wondering how I could do this
using OpenGL ES. can anyone help?

-- 

2. Referenced part does not exist yet

Having two weird errors with one of my Android projects.
What might be wrong?

eclipse.buildId=M20090917-0800
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=hu_HU
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.java.product


Error
Wed Nov 11 18:01:07 EET 2009
Referenced part does not exist yet: org.eclipse.ui.views.ProblemView.

Error
Wed Nov 11 17:44:23 EET 2009
Unable to restore source lookup path - unknown type source container type
specified: org.eclipse.cdt.debug.core.containerType.mapping

-- 
Mrton

-- 

3. how 2 slove > Can't start OBEX FTP (File Transfer Profile)

4. Emulator in Eclipse IDE

5. SDK Installation: A folder failed to be renamed or moved

6. How hard would it be to make a second language of sorts for the Android?

7. Help! Error when querying non primary key in database