public boolean detectBlackBerryTouch ( ) { if ( detectBlackBerry ( ) && ( ( userAgent . indexOf ( deviceBBStorm ) != - 1 ) || ( userAgent . indexOf ( deviceBBTorch ) != - 1 ) || ( userAgent . indexOf ( deviceBBBoldTouch ) != - 1 ) || ( userAgent . indexOf ( deviceBBCurveTouch ) != - 1 ) ) ) { return true ; } return false ; }
Detects if the current browser is a BlackBerry Touch device such as the Storm Torch and Bold Touch . Excludes the Playbook .