×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Question Multitouch for HTML5 Apps

    hi m8,

    i have a new problem.
    i want to help for u

    how can i add multitouch support for my html5 app in Qt?
    thanx a lot.

    best regards.

  2. #2
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Multitouch for HTML5 Apps

    anybodycan help me?
    Up!

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Multitouch for HTML5 Apps

    Hi,
    So multitouch works fine on WebView QML elements.

    this is the code I tested:

    import QtQuick 1.1
    import com.nokia.meego 1.0
    import QtWebKit 1.0

    Page {
    tools: commonTools

    WebView {
    anchors.fill: parent
    url: "http://smus.com/x/browser-ninja/"
    }
    }

    Please note that multi-touch doesn't work in the harmattan browser since gesture manager eats touch events

  4. #4
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Multitouch for HTML5 Apps

    hi @gnuton thanx a lot for u r reply.
    i didnt use webkit.
    i have javascript files and index.html file.
    they are in the my html5 app.
    i want to use multitouch for my game.

    should i use webkit?

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Multitouch for HTML5 Apps

    Well, if your target is to make an application for N9, you need to write a few line in QML even if your app is a HTML5 app.
    Webkit is a MUST, since it renders your HTML pages on the screen.

Similar Threads

  1. standalone html5 apps for n9?
    By davidmaxwaterman in forum [Archived] Publish to Nokia Store – General Discussion
    Replies: 1
    Last Post: 2011-12-31, 06:29
  2. HTML5 apps..
    By mrrekcuf in forum Nokia N9
    Replies: 4
    Last Post: 2011-09-16, 14:25
  3. MultiTouch in Qt quick
    By woshibantang in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-05-17, 17:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •