TouchScreen Taps capture

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

TouchScreen Taps capture

Postby MaTriXy » Thu Nov 27, 2008 9:02 pm

Hi,
I am trying to figure out if i can distinguish the amount of pressure that a person can
do on the touchscreen while touching it.
i want to be able to distinguish between a swift brief stroke on the screen and a hard firm tap...

Can any one help me out?
MaTriXy
Freshman
Freshman
 
Posts: 8
Joined: Sat Nov 01, 2008 1:04 pm

Top

Postby MrSnowflake » Thu Nov 27, 2008 9:43 pm

Something like this: MotionEvent.getPressure()?
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby MaTriXy » Fri Nov 28, 2008 8:44 pm

hi again,
thx for the answer.
did you try it on a real phone???
i don't have a phone yet... :(
is there a way to check this at the emulator???
MaTriXy
Freshman
Freshman
 
Posts: 8
Joined: Sat Nov 01, 2008 1:04 pm

Postby MrSnowflake » Sat Nov 29, 2008 2:47 pm

The result is probably not very acurate. Don't have a device.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests