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
-2
votes
3 answers

How can I detect multiple words from a string? (python)

I need to create a program on which a user can input an issue they are having with their phone. As the reply could be multiple words and lines, I need to be able to pick up key phrases and words such as "doesn't turn on" or "cracked" from the reply.…
Alphin Philip
  • 1,109
  • 2
  • 8
  • 6
-2
votes
1 answer

Blobs detecting algorithm

I am trying to make blobs finding algorithm with 8 connectivity for binary image(monochrome) (coordinates of bounding boxes up-left and down-right dots)which use small amount of memory (needed because the large resolution of the image) on C++. There…
nicksona
  • 247
  • 3
  • 13
-2
votes
2 answers

How to detect when user exits ios application on jailbroken device

For an unknown reason, when I kill my app in the recent menu and try to launch it again, the last screen where I was appear again and the device is frozen. What I have to do is a hard reboot and after that, launching the app again…
Synny
  • 542
  • 1
  • 4
  • 18
-2
votes
1 answer

How can I discover the model of a smartphone or tablet with Javascript?

I would like my website to show mobile visitors that their device make and model is recognized. I am aware of Javascript scripts that tell me whether a device is a mobile phone or a tablet, but what I need here is the actual make and model (HTC One,…
programbyexception
  • 355
  • 1
  • 4
  • 10
-2
votes
2 answers

Detect text input

I am trying to understand this JS function: JS Fiddle Demo I basically got it out of a book that I am trying to learn from. The book is called "JavaScript: The Definitive Guide" (pg484). But the function does not include the html that goes with it.…
HattrickNZ
  • 4,373
  • 15
  • 54
  • 98
-2
votes
1 answer

Android details viewing

I am developing an app that providing details about a city. When the user selects any of the city from the first page, the page has to direct to the next page..in that page the details of city has to be displayed, by scrolling down the user has to…
user2223317
  • 211
  • 1
  • 3
  • 13
-2
votes
6 answers

How to detect and echo the last vowel in a word?

$word = "Acrobat" (or Apple, Tea etc.) How can I detect and echo the last vowel of a given word with php? I tried preg_match function, google'd for hours but couldn't find a proper solution. There can be multibyte letters like ü, ö in the string.
Carlisle Holm
  • 25
  • 1
  • 6
-2
votes
2 answers

Detect which key is pressed

How do I tell which key was pressed in a Cocoa Application (I know each key has an associated number)? In my case, I want to log the key to the console. This is my code: - (BOOL)acceptsFirstResponder { return YES; } -(void)keyUp:(NSEvent*)event…
Viper OS X
  • 291
  • 1
  • 5
  • 14
-3
votes
0 answers

I want to detect the TV device without using UserAgents using ReactJS/Javascript

Requirement: I have to show a popup(under maintenance) to block the using of our website through TV browser. We are using ReactJS. I'm unable to get the device information(to check whether its a tv device) using the UserAgents that we are getting…
-3
votes
4 answers

How would I find what page a user comes from?

I am looking for a way to detect which page a user comes from (the users referring page). If the user does not come from a page called "index.php", they should be redirected to a page, like, google.com. Any programming language that can be embedded…
snarkyt123
  • 69
  • 1
  • 2
  • 6
-3
votes
2 answers

how to detect file if exist in python

how can i detect if a specifics files exist in directory ? example: i want to detect if (.txt) files exist in directory (dir) i tried with this : import os.path from os import path def main(): print ("file…
-3
votes
1 answer

How can I use Python to detect when my computer/a program is lagging?

I wrote an automated code that basically takes some text from a PDF and then pastes it in a different program. This involves controlling my mouse and keyboard in order to work properly. The code runs fine, but sometimes my computer, or I guess the…
ATP
  • 603
  • 1
  • 9
  • 14
-3
votes
1 answer

Checkers c# each player plays once not possible

I created a WPF app to play checkers. While lauching, a bunch of white and black buttons are created(15 each). The white buttons are called btnWhite and the black btnBlack. I'd like that, if I play with the whites, then the next button to be clicked…
David
  • 221
  • 3
  • 13
-3
votes
1 answer

How to detect non-system-variables in JavaScript?

How do I detect all children of 'window' that are defined by the user? I want to detect window.test, but I don't want to get window.Math. Is there a way to list those Variables?
M.P.
  • 3
  • 1
-3
votes
2 answers

Access, how can I find last name which has lower case in the first letter?

How can I find and replace to uppercase for the column of last name which has lower case in the first letter and comma between the name or space before the name? For example: Last Name Carr palio li [space] West Find palio, li, West and change to…
Kevin
  • 1
  • 3
1 2 3
69
70