code: public boolean detectAndroidPhone() {
  
          //First, let's make sure we're on an Android device.
          if (!detectAndroid()) {
              return false;
          }
  
          //If it's Android and has 'mobile' in it, Google says it's a phone.
          if (userAgent.indexOf(mobile) != -1) {
              return true;
          }
  
          //Special check for Android devices with Opera Mobile/Mini. They should report here.
          if (detectOperaMobile()) {
              return true;
          }
  
          return false;
      }
docs: Detects if the current device is a (small-ish) Android OS-based device
  used for calling and/or multi-media (like a Samsung Galaxy Player).
  Google says these devices will have 'Android' AND 'mobile' in user agent.
  Ignores tablets (Honeycomb and later).
  @return  detection of an Android phone