def detect_android_phone()

      if (!detect_android())
        return false
      end


      if (user_agent.include?(MOBILE))
        return true
      end


      if (detect_opera_mobile())
        return true
      end

      return false
    end
def detect_android_phone()

      if (!detect_android())
        return false
      end


      if (user_agent.include?(MOBILE))
        return true
      end


      if (detect_opera_mobile())
        return true
      end

      return false
    end
=begin
*
     * 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

=end