Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-768] Android: Missing Gesture Two Finger Tap

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-09-18T17:53:19.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Sprint 2012-19 API, 2012 Sprint 19
ComponentsAndroid
Labelsapi, module_window, qe-review, qe-testadded
ReporterDon Thorp
AssigneeArthur Evans
Created2011-04-15T02:36:00.000+0000
Updated2013-09-20T07:02:27.000+0000

Description

See http://developer.appcelerator.com/question/14911/swipe-and-twofingertap-in-android"> Q&A

Test case

var win = Ti.UI.createWindow({
	backgroundColor: '#fff',
	fullscreen: false,
	exitOnClose: true
});

var events = [
	'click',
	'dblclick',
	'doubletap',
	//'longclick',
	'longpress',
	'pinch',
	'singletap',
	'swipe',
	'touchcancel',
	'touchend',
	'touchmove',
	'touchstart',
	'twofingertap',
	'threefingertap',
	'fourfingertap',
	'fivefingertap'
];

var addListener = function(eventName) {
	win.addEventListener	(eventName, function(e) {
		Ti.API.info(eventName);
	});
}

for (var i = 0; i < events.length; i++) {
	addListener(events[i]);
}

win.open();

Comments

  1. Tony Lukasavage 2012-04-19

  2. Hieu Pham 2012-07-05

    Need to set up a new PR for this. The fix is in https://github.com/appcelerator/titanium_mobile/pull/2041.
  3. Junaid Younus 2012-08-13

    Tested with a Samsung Galaxy S3, TiSDK 2.2.0v20120810194112, TiStudio 2.1.1.201207271312, issue still reproducible.
  4. Arthur Evans 2012-09-10

    Resubmitted as: https://github.com/appcelerator/titanium_mobile/pull/2903
  5. Shyam Bhadauria 2012-10-26

    Giving two finger tap now.Environment used for verification - Titanium SDK:3.0.0.v20121024144610 Titanium  Studio:3.0.0.201210220122
  6. Mark Mokryn 2013-09-19

  7. Mark Mokryn 2013-09-20

    Please see this: https://github.com/appcelerator/titanium_mobile/pull/4720

JSON Source