PHP/mdetect.php
function DetectAndroid()
   {
      if ($this->initCompleted == $this->true ||
          $this->isAndroid == $this->true)
         return $this->isAndroid;

      if ((stripos($this->useragent, $this->deviceAndroid) > -1)
          || ($this->DetectGoogleTV() == $this->true))
         return $this->true; 
      
      return $this->false; 
   }
function DetectAndroid()
   {
      if ($this->initCompleted == $this->true ||
          $this->isAndroid == $this->true)
         return $this->isAndroid;

      if ((stripos($this->useragent, $this->deviceAndroid) > -1)
          || ($this->DetectGoogleTV() == $this->true))
         return $this->true; 
      
      return $this->false; 
   }
function DetectAndroid ( ) { if ( $ this -> initCompleted == $ this -> true || $ this -> isAndroid == $ this -> true ) return $ this -> isAndroid ; if ( ( stripos ( $ this -> useragent , $ this -> deviceAndroid ) > - 1 ) || ( $ this -> DetectGoogleTV ( ) == $ this -> true ) ) return $ this -> true ; return $ this -> false ; }
Also detects Google TV.
Also detects Google TV .