Function: browse-url-default-android-browser

browse-url-default-android-browser is an autoloaded, interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-default-android-browser URL &optional NEW-WINDOW)

Documentation

Browse URL with the system default browser.

If browse-url-android-share is non-nil, try to share URL using an external program instead. Default to the URL around or before point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;###autoload
(defun browse-url-default-android-browser (url &optional _new-window)
  "Browse URL with the system default browser.
If `browse-url-android-share' is non-nil, try to share URL using
an external program instead.  Default to the URL around or before
point."
  (interactive (browse-url-interactive-arg "URL: "))
  (unless browse-url-android-share
    ;; The URL shouldn't be encoded if it's being shared through
    ;; another program.
    (setq url (browse-url-encode-url url)))
  ;; Make sure the URL starts with an appropriate scheme.
  (unless (string-match "\\(.+\\):/" url)
    (setq url (concat browse-url-default-scheme "://" url)))
  (android-browse-url url browse-url-android-share))