PHP/mdetect.php
function DetectAndroidTablet()
   {
      //First, let's make sure we're on an Android device.
      if ($this->DetectAndroid() == $this->false)
         return $this->false; 

      //Special check for Android devices with Opera Mobile/Mini. They should NOT report here.
      if ($this->DetectOperaMobile() == $this->true)
         return $this->false; 
         
      //Otherwise, if it's Android and does NOT have 'mobile' in it, Google says it's a tablet.
      if (stripos($this->useragent, $this->mobile) > -1)
         return $this->false;
      else
         return $this->true; 
   }
function DetectAndroidTablet()
   {
      //First, let's make sure we're on an Android device.
      if ($this->DetectAndroid() == $this->false)
         return $this->false; 

      //Special check for Android devices with Opera Mobile/Mini. They should NOT report here.
      if ($this->DetectOperaMobile() == $this->true)
         return $this->false; 
         
      //Otherwise, if it's Android and does NOT have 'mobile' in it, Google says it's a tablet.
      if (stripos($this->useragent, $this->mobile) > -1)
         return $this->false;
      else
         return $this->true; 
   }
function DetectAndroidTablet ( ) { //First, let's make sure we're on an Android device.
 if ( $ this -> DetectAndroid ( ) == $ this -> false ) return $ this -> false ; //Special check for Android devices with Opera Mobile/Mini. They should NOT report here.
 if ( $ this -> DetectOperaMobile ( ) == $ this -> true ) return $ this -> false ; //Otherwise, if it's Android and does NOT have 'mobile' in it, Google says it's a tablet.
 if ( stripos ( $ this -> useragent , $ this -> mobile ) > - 1 ) return $ this -> false ; else return $ this -> true ; }
Google says these devices will have 'Android' and NOT 'mobile' in their user agent.
Google says these devices will have Android and NOT mobile in their user agent .