public boolean detectOperaAndroidPhone ( ) { if ( userAgent . indexOf ( engineOpera ) != - 1 && ( userAgent . indexOf ( deviceAndroid ) != - 1 && userAgent . indexOf ( mobi ) != - 1 ) ) { return true ; } return false ; }
Detects Opera Mobile on an Android phone .