Questions tagged [detect]

"Detect" is overbroad and should not be used. Tag with the specific sort of detection you mean: collision-detection, face-detection, feature-detection, browser-detection, etc, etc.

This tag has an active burnination request. It should be removed from questions, not added.

Detection activity exist in many ways.

For example:

  • Detecting active bluetooth devices;
  • Detecting Internet Connection;
  • Detecting available ports;
  • Detecting incoming voice;
  • Detecting color scheme;
  • Detecting features.
1045 questions
0
votes
4 answers

Android: Detect when "Done" key is pressed on softkey

I want to detect when the soft key "done" is pressed so that when it is, it a toast message appears. I saw this post about the same question here however, I am confused about how exactly to implement the solution. The solution provided is: editText…
thedeepfield
  • 6,138
  • 25
  • 72
  • 107
0
votes
2 answers

How to detect my application is idle in c# (form covered)?

I have this problem today, i saw this solution: How to detect my application is idle in c#? I tried that, but my form is covered with userControls and other elements, and the mouseover or keydown events are only fired in the margins of those…
Hahn86
  • 55
  • 1
  • 5
  • 17
0
votes
1 answer

svn; detect missing revisions between different branches

Is there a way to setup relationships between the SVN branches so that we can detect if there are any missing revisions? We have multiple developers working on different branches (A,B,C) and fixes made in some of these branches (e.g. A) need to be…
Sandeep
  • 1
  • 1
0
votes
1 answer

Detect browser URL

Is there a way for a standard C# desktop app to detect the URL that the browser is going to navigate to, and possibly prevent it from doing that? An example would be all those download managers that pop up when I click a link in the browser and…
dotNET
  • 33,414
  • 24
  • 162
  • 251
0
votes
1 answer

Cannot detect memory leaks in DLLs statically attached to C++ program

I have a host program that implicitly (with libs and their DLLs) loads DLLs. When I make a memory leak on purpose, in my host program, the CrtDbg* functions detect the leak. When I on purpose make a memory leak in one of the DLLs the leak is not…
Vertilka
  • 183
  • 2
  • 13
0
votes
2 answers

How to deal with the iOS detect the NSString language, English can not be detected accurately?

Method: - (NSString *)languageForString:(NSString *) text{ return (__bridge NSString *)CFStringTokenizerCopyBestStringLanguage((CFStringRef)[text cStringUsingEncoding:NSUnicodeStringEncoding], CFRangeMake(0,…
八爪鱼
  • 39
  • 7
0
votes
1 answer

iphone: Hands free gestures

In my iPhone app, I require to recognize the gesture or motion made by the user on the view without touching it. I want the hand free gestures to be recognized and perform a function on view. I need that the image should move with the gesture…
0
votes
2 answers

PHP how to detect user coming from sister website if referrer disabled

E.g. I have two domains: http://www.computer.com http://www.computers.com http://www.computer.com is main website and http://www.computers.com is just dummy that will redirect to main website (http://www.computer.com). So my goal with pure PHP is…
Petja Zaichikov
  • 275
  • 3
  • 12
0
votes
0 answers

WP7 how to know when popup shows up?

I'm using popup to show my user control. I want to detect when the popup is REALLY shown up on the screen, then I show the progress bar, do some work, then hide the progress bar MyDialog dialog = new MyDialog(); myPopup.Child =…
onmyway133
  • 45,645
  • 31
  • 257
  • 263
0
votes
1 answer

touchesbegan and touchesmoved

My question is when i hold down a button it has a sound at this time i touch on the same button of my another finger, it has a sound also. So can i disable another touch when i have already hold down a finger on the same button? As TouchesMoved as…
0
votes
2 answers

how to detect a whitespace on string in php program

I want to do treatments on two strings, and I must to know if there are spaces to stop my treatment and move on to the rest of characters I tested that but it doesn't rule the problem : for ($i = 0; $i < $lenght; $i++) { …
user201892
  • 277
  • 2
  • 4
  • 11
0
votes
2 answers

C# Detecting server setup

I'm writing a program that deals with the logs generated by the clients server. How can I detect where the user is storing them? It feels invasive to search all files, but what if they're being stored outside of the root. Is this acceptable, what if…
Nona Urbiz
  • 4,873
  • 16
  • 57
  • 84
0
votes
2 answers

Windows 8 Metro JS, detect closing of application

In a Windows 8 Metro application, how do you detect when the user quits the application, or it is terminated by the system? I need to clear out some data prior to the app closing, like resetting the live tile, and so on...
Jovanovski
  • 202
  • 2
  • 7
0
votes
1 answer

Automatically reload an iframe if source page changes

I don't know what's wrong with my code, even if I change the content of the target file it still wont refresh the iframe.