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
QtWS25 Last Chance

handling "mailto" and "tel" hyperlink on QtWebEngine

Scheduled Pinned Locked Moved Mobile and Embedded
qtwebengineandroidmailtotelhyperlink
5 Posts 2 Posters 2.5k Views
  • 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 15 Apr 2015, 08:25 last edited by NelsonC
    #1

    Dear All,

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

    Thz
    Nelson

    P 1 Reply Last reply 15 Apr 2015, 08:40
    0
    • N NelsonC
      15 Apr 2015, 08:25

      Dear All,

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

      Thz
      Nelson

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 15 Apr 2015, 08:40 last edited by
      #2

      @NelsonC I think Webview is not supported on android.

      157

      N 1 Reply Last reply 15 Apr 2015, 08:45
      0
      • P p3c0
        15 Apr 2015, 08:40

        @NelsonC I think Webview is not supported on android.

        N Offline
        N Offline
        NelsonC
        wrote on 15 Apr 2015, 08:45 last edited by
        #3

        @p3c0 sorry i mean QtWebEngine

        P 2 Replies Last reply 15 Apr 2015, 09:53
        0
        • N NelsonC
          15 Apr 2015, 08:45

          @p3c0 sorry i mean QtWebEngine

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 15 Apr 2015, 09:53 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
            15 Apr 2015, 08:45

            @p3c0 sorry i mean QtWebEngine

            P Offline
            P Offline
            p3c0
            Moderators
            wrote on 15 Apr 2015, 10:02 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

            3/5

            15 Apr 2015, 08:45

            • Login

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