Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. handling "mailto" and "tel" hyperlink on QtWebEngine
Forum Updated to NodeBB v4.3 + New Features

handling "mailto" and "tel" hyperlink on QtWebEngine

Scheduled Pinned Locked Moved Mobile and Embedded
qtwebengineandroidmailtotelhyperlink
5 Posts 2 Posters 2.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NelsonC
    wrote on last edited by NelsonC
    #1

    Dear All,

    how can i handle "mailto" and "tel" hyperlink case on QtWebEngine android application

    Thz
    Nelson

    p3c0P 1 Reply Last reply
    0
    • N NelsonC

      Dear All,

      how can i handle "mailto" and "tel" hyperlink case on QtWebEngine android application

      Thz
      Nelson

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @NelsonC I think Webview is not supported on android.

      157

      N 1 Reply Last reply
      0
      • p3c0P p3c0

        @NelsonC I think Webview is not supported on android.

        N Offline
        N Offline
        NelsonC
        wrote on last edited by
        #3

        @p3c0 sorry i mean QtWebEngine

        p3c0P 2 Replies Last reply
        0
        • N NelsonC

          @p3c0 sorry i mean QtWebEngine

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by p3c0
          #4

          @NelsonC AFAIK, QML based WebView (not to confuse with QWebview) will work on android. It is a wrapper around native web browser.

          157

          1 Reply Last reply
          0
          • N NelsonC

            @p3c0 sorry i mean QtWebEngine

            p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #5

            @NelsonC The problem with it I found was how to fetch the mailto link when clicked on the link. Once you get the mailto link then you can call Qt.openUrlExternally and pass the link as parameter and it should open the default mail client. For eg:

            onClicked:  Qt.openUrlExternally("mailto:someone@example.com?Subject=Hello")
            

            157

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved