Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test multi-touch in Android Emulator [duplicate]

I'm trying to use multi-touch in an Android 2.0 app. How can I simulate this with an emulator using Eclipse? I can only seem to get the mouse to do one touch at a time.

like image 802
Gerry Avatar asked Oct 07 '10 17:10

Gerry


People also ask

How do you use two fingers on an emulator?

To simulate a two finger drag hold the Alt/Option + Shift while clicking and dragging on the screen.

Can I use 2 emulator?

You can run multiple emulators at the same time simply by running your app again. When the AVD manager pops up, instead of selecting your already running emulator, click 'Launch Emulator' and select another emulator to launch.

Does Android have multi touch?

Multi-touch is available since Android 2.0 and has been improved in the version 2.2. This description uses the API as of version 2.2. The MotionEvent. ACTION_POINTER_DOWN and MotionEvent.


3 Answers

Since ADT 17, it is possible to use a physical Android 4.0 device to send multitouch gestures to the emulator. See Android's instructions here.

like image 76
Paul Lammertsma Avatar answered Sep 22 '22 00:09

Paul Lammertsma


Current version of emulator doesn't support multi-touch. You need device to do it!

Update:

The emulator supports multi-touch input, as an experimental feature in r17

Read more

like image 34
cement Avatar answered Sep 23 '22 00:09

cement


You can follow this ticket on Android's Google code page if you want, but there's currently no support for this.

like image 30
eldarerathis Avatar answered Sep 21 '22 00:09

eldarerathis