Tracking Touch Events on Safari

Discussion in 'iPad Development' started by llama03, Nov 21, 2011.

  1. llama03
    Offline

    llama03 iPF Noob

    Joined:
    Nov 21, 2011
    Messages:
    2
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Hi all :) I'm currently working on a project which requires touch data from interaction with a website on the iPad 2.

    The website is a survey designed and hosted on Qualtrics (an online survey software). It contains a number of pictures, and participants will answer questions regarding their impressions of the pictures. At the same time, I would like to collect touch data on how participants interacted with the pictures (touch frequency, how long touch was maintained, coordinates of areas of the pictures touched). All the pictures are of the same size, and every page of the survey includes one picture followed by the question.

    As I've only found apps that capture touch events within the app itself, does anyone know if it's possible for an app to launch Safari within itself and record touch data discreetly?

    Any help will be much appreciated! :)
  2. Gabriel1
    Offline

    Gabriel1 Super Moderator Staff Member

    Joined:
    Mar 11, 2011
    Messages:
    17,132
    Thanks Received:
    746
    Trophy Points:
    0
    Location:
    Cranbrook, Kent, UK
    Ratings:
    +747 / 0
    Hi, I've just deleted your other, duplicate, post. Please don't make duplicate posts in the forums as it is against our rules.

    The Archangel
  3. Gabriel1
    Offline

    Gabriel1 Super Moderator Staff Member

    Joined:
    Mar 11, 2011
    Messages:
    17,132
    Thanks Received:
    746
    Trophy Points:
    0
    Location:
    Cranbrook, Kent, UK
    Ratings:
    +747 / 0
    Many apps will launch an Internet window within the app, our IPF App does this, not sure how you collect the data though, it's way above my pay grade (my pay grade is not very high!).

    The Archangel
  4. sprobertson
    Offline

    sprobertson iPF Noob

    Joined:
    Nov 22, 2011
    Messages:
    4
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Boston, MA
    Ratings:
    +0 / 0
    Launching Safari itself isn't really an option, but you should be able to use a UIWebView; maybe a custom implementation that handles touch events to record them and then sends them to the normal handler? Just theorizing here, never tried it.

Share This Page