detection

Googlebot getting an error

Hello, I have the following code as my index.php for my multi-language website. Each available language has a subdirectory. <?php if (isset($_POST['URL']) && strlen($_POST['URL']) == 3) { header("location: ".$_POST[URL]); } else { function lixlpixel_get_env_var($Var) { if(empty($GLOBALS[$Var])) { ...

ASP.NET IsMobileBrowser detection with Browser.Mobile file Wrong Detection with Sea Monkey

I am using Request.Browser.IsMobileDevice in conjunction with the MDBF file that goes in the App_Browsers/Devices folder (http://mdbf.codeplex.com/) Now using Sea Monkey browser (latest version 2.0.7) IsMobileDevice returns true. Why might this be the case as clearly Sea Monkey is not a mobile browser. In fact, I had the understanding...

Detect changes in NSArray in ObjC

Hello, I need to detect change in NSArray object - that is if some object was added/removed to/from NSArray or was just edited in-place. Are there some integrated NSArray hash functions for this task - or I need to write my own hashing function for NSArray ? Maybe someone has different solution ? Any ideas ? Thanks. ...

Detect jsch disconnection

Hi, how can i detect from the client that jsch session has beed disconnected by the server? ...

What is the most accurate encoding detector?

After certain survey, I come to discover that there are a few encoding detection project in java world, if the getEncoding in InputStreamReader does not work: juniversalchardet jchardet cpdetector ICU4J However, I really do not know which is the best among the all. Can anyone with hand-on experience tell me which one is the best in J...

Java: How to make clients detect server on network?

Hello, During my years at the university I had a personal project of making a simple chat program in Java, using TCP sockets. The project was only for educational purposes. One thing I wasn't very happy with was that a client had to know the IP of the server in order to connect to it. So I got to thinking it would be nice if the client...

Objective c find button at point.

Hi, I have a rotating wheel in my iPhone application and I would like to find out which button image (from the rotating wheel) is on top. I was thinking of doing this by using fixed coordinates and seeing which button is at his location. I'm not sure how to implement this. Any help is appreciated. ...

Detecting random keyboard hits considering QWERTY keyboard layout

The winner of a recent Wikipedia vandalism detection competition suggests that detection could be improved by "detecting random keyboard hits considering QWERTY keyboard layout". Example: woijf qoeoifwjf oiiwjf oiwj pfowjfoiwjfo oiwjfoewoh Is there any software that does this already (preferably free and open source) ? If not, is ther...

uiwebview autodetection phone number

hi friends, Is it possible on uiwebview autodetection phone number is stored with my json value on contact page automatically(without manual data entering in it). Regards, sathish ...

PHP mobile browser detection?

Hey all,     I'm in need of a way to detect mobile browsers server-side. I've heard of various ways to do this, but i'd like a way that requires me to do little to set up and little to maintain, yet still provide me with accurate detection of (at the VERY least) android, iphone/ipod, and blackberry browsers, along with alternatives like ...

uiwebview autodetection storing data to addressbook issue.

Hi friends, I am working on webview. I am loading a html page on my webview. the thing is when i clicked phone number in my page, it should automatically add into the contact of my json data. The issue it is working finely in simulator on device it is not working Any suggestion is highly appreciated Thanks in advance Regards, sathish ...

iOS - detect when more than one finger is on the screen

I'm looking for the best way to detect more than one finger on the screen at time. I'm not detecting taps or pinching, just the fact that more than one touch is happening. There don't seem to be any gesture recognizers for that. What's the best way? ...

How to pass a checkbox array from form to results page.

Im trying to build a page that will allow a user to select a maximum of 8 out of 20 checkboxes, in a specific order, on a single form. Im trying to make a page that will only be viewable if the right sequence of checkboxes are clicked, a neat way to let only those who have the checkbox sequence in on a certain part of my website. What ...

Security - Detecing user's device details on website.

Is it possible to detect these for visitors or registered users on my website without using any plugins? I am creating the security features so scouting around for things i can detect for added security alerts. Security is very important with this service due to storage of confidential information so I am trying to use different security...

Shape detection EMGU

Hi i need further assistance. I followed the tutorial on shape detection however when i execute the program, i get the above. For the detected cicrles i have no idea why it look like that may i know what is wrong over here? ...

Missing libraries in JNI2OpenCV?

I'm a newb when it comes to JNI2OpenCV. It has errors regarding java.library.path. I've read this thread http://stackoverflow.com/questions/2441198/opencv-to-jni-how-to-make-it-work but it seems that this is a different case from mine. Here's the errors I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\JNI2OpenCV.d...

How to tell if sqlite database file is valid or not

In the code below, pathToNonDatabase is the path to a simple text file, not a real sqlite database. I was hoping for sqlite3_open to detect that, but it doesn't (db is not NULL, and result is SQLITE_OK). So, how to detect that a file is not a valid sqlite database? sqlite3 *db = NULL; int result = sqlite3_open(pathToNonDatabase, &db);...

Java: Detecting modification to a file (file polling?)

What is the most efficient way to detect modification to a file in Java? I've read about file polling however, the polling approach has a number of drawbacks that become apparent as the number of watched files increases. I rather not use polling but a number of solutions online appear to point to file polling as the recommended method. ...

How can I detect an .exe file that is produced by vb6 and recognize different vb6 files from each other?

I'm writing a program to detect which ".exe" file is generated by "Visual Basic6". I found that at the "entry point" of each vb file, there is an address at offset 1 from "entry point" which points to a location that contains the string: "vb5!", is that a certain signature? Can I be sure that in every vb files this string is exist? Then,...

Operating sytem detection for CSS hacks (aka need a "PC only" CSS hack)

I don't like Microsoft's font rendering. I've created a site for a client and the last unticked box on my debugging list is the biggest. (it's not 'live' yet btw so please ignore any other bugs - http://baked-beans.tv/bb) I'm using font-family to import a non standard web font. It renders fine on Mac, but it looks like sick old man on ...