protected function checkBrowserAndroid()
{
if (stripos($this->_agent, 'Android') !== false) {
$aresult = explode(' ', stristr($this->_agent, 'Android'));
if (isset($aresult[1])) {
$aversion = explode(' ', $aresult[1]);
$this->setVersion($aversion[0]);
} else {
$this->setVersion(self::VERSION_UNKNOWN);
}
if (stripos($this->_agent, 'Mobile') !== false) {
$this->setMobile(true);
} else {
$this->setTablet(true);
}
$this->setBrowser(self::BROWSER_ANDROID);
return true;
}
return false;
}