public boolean detectMaemoTablet ( ) { if ( userAgent . indexOf ( maemo ) != - 1 ) { return true ; } else if ( userAgent . indexOf ( linux ) != - 1 && userAgent . indexOf ( deviceTablet ) != - 1 && ! detectWebOSTablet ( ) && ! detectAndroid ( ) ) { return true ; } return false ; }
Detects if the current device is on one of the Maemo - based Nokia Internet Tablets .