Questions tagged [tap]

The Test Anything Protocol (TAP) is a protocol to allow communication between unit tests and a test harness. Do not use for mobile, touch-enabled devices; use [touch] instead.

The Test Anything Protocol (TAP) is a protocol to allow communication between unit tests and a test harness. It allows individual tests (TAP producers) to communicate test results to the testing harness in a language-agnostic way.

On mobile phones, to tap means "to click", or to touch some User Interface elements.

References

547 questions
171
votes
8 answers

Why doesn't await on Task.WhenAll throw an AggregateException?

In this code: private async void button1_Click(object sender, EventArgs e) { try { await Task.WhenAll(DoLongThingAsyncEx1(), DoLongThingAsyncEx2()); } catch (Exception ex) { // Expect AggregateException, but got…
Michael Ray Lovett
  • 6,668
  • 7
  • 27
  • 36
57
votes
4 answers

tap() vs subscribe() to set a class property

I am very new to rxjs and was just wondering is it ok to setup a class property by piping the stream and tapping it, or it should i do it in the subscribe. To me either way works, just wonder if it is ok to do it as I see fit to my eyes or there is…
bulforce
  • 991
  • 1
  • 6
  • 11
46
votes
8 answers

UIPicker detect tap on currently selected row

I have a UIPickerView and The method didSelectRow is not called when tapping on a selected row. I need to handle this case. Any ideas?
Royce
  • 461
  • 1
  • 4
  • 3
46
votes
12 answers

npm install gives unauthorized name or password is incorrect error

When I try to install tap using npm install tap I get the following error: npm ERR! Error: unauthorized Name or password is incorrect.: tap Here's the entire response: npm http GET https://registry.npmjs.org/tap npm http 401…
Thaddeus Albers
  • 4,094
  • 5
  • 32
  • 42
42
votes
12 answers

Why/when do I have to tap twice to trigger click on iOS

Ok I feel like I'm crazy... I'm looking at Mobile Safari on iOs 6.0. I can't seem to establish any rhyme or reason as to when tapping on an element will trigger click. In many cases, it seems I need to tap once to trigger a hover and then again to…
user2383672
  • 449
  • 1
  • 5
  • 6
41
votes
8 answers

Homebrew Error: No formulae found in taps

I'm trying to install paramiko on my MacBook Pro (OSX Sierra) without going through Xcode because I'm too lazy to install Xcode honestly. When trying to run: brew install paramiko I get: Error: No available formula with the name "paramiko" ==>…
CBK
  • 660
  • 1
  • 7
  • 16
34
votes
6 answers

RxJS 6 - Cancel / End a Pipe

Working with the new version of RxJS 6 and the pipe operator in particular. Currently using the pipe to take the results of an API call and pass them to a series of additional tasks. All works great, but can't seem to find a way to cancel or end a…
RookieMcRookie
  • 403
  • 2
  • 5
  • 7
32
votes
3 answers

UITapGestureRecognizer on UIImageView within UITablevlewCell not getting called

I currently have a custom UITableViewCell which contains a UIImageView and trying to add a UITapGestureRecognizer on the UIImageView with no luck. here is snippet of the code. //within cellForRowAtIndexPath (where customer table cell with imageview…
Herman
  • 3,004
  • 5
  • 37
  • 49
29
votes
2 answers

How can I make a ProgressDialog be cancelable by the back button but not by a screen tap?

I would like to make a ProgressDialog cancelable by the back button but not by a screen tap. Currently I use setCancelable(true). However, in some newer devices a tap on the screen also cancels the ProgressDialog. I'd like to disable the screen tap…
benkdev
  • 673
  • 2
  • 16
  • 32
29
votes
1 answer

iphone - single tap gesture conflicts with double one

I have a view. I wish to define to kinds of tap gestures for it. So if a user single tap on the view, view will do A; and if a user double tap on the view, it will do B without doing A. I added two UITapGestureRecognizer to the view. the single tap…
Jackson Tale
  • 25,428
  • 34
  • 149
  • 271
22
votes
3 answers

Execute task in background in WPF application

Example private void Start(object sender, RoutedEventArgs e) { int progress = 0; for (;;) { System.Threading.Thread.Sleep(1); progress++; Logger.Info(progress); } } What is the recommended approach (TAP or…
Syaiful Nizam Yahya
  • 4,196
  • 11
  • 51
  • 71
21
votes
4 answers

Detect hard taps anywhere on iPhone through accelerometer

I am trying to detect the taps which could be anywhere on iPhone not just iPhone screen. Here is a link which shows that it is possible. Basically what i want to do is send an alert if user taps 3 times on iPhone while the Phone is in his…
sajjoo
  • 6,576
  • 20
  • 65
  • 86
20
votes
6 answers

ionic2 tap vs click

I am starting with angular2 and ionic2; In ionic2, I have a button that will call a method of my component. Like this: Should I use (click) - angular2 OR (tap) - ionic2? Like this: (click)
20
votes
2 answers

Virtual networking devices in Linux

Can someone explain in detail what are the differences of veth pairs and tap interfaces and how these devices connect to linux bridge or openvswitch. I found this: "Veth is a special net devices which were created in pair, I consider it as a method…
paraflou
  • 413
  • 1
  • 7
  • 14
19
votes
4 answers

ios is it possible for a uiscrollview to detect a single tap by a user while still providing its dragging, scrolling capabilities?

I currently am using a UIScrollView to work as a way of scrolling/ dragging the cursor/ marker of a graph that I am displaying on my app. I use scrollViewDidScroll, etc. to detect the contentoffset's position and manipulate what I display on the…
Nathan Fraenkel
  • 3,422
  • 4
  • 18
  • 21
1
2 3
36 37