Phonegap working on Multi-Touch and normal PC displays?

18 views
Skip to first unread message

phantomiaser

unread,
Sep 6, 2010, 9:53:07 AM9/6/10
to phonegap
Hello!

I have a question about phonegap. I can use it to create a website
which is multi-touch enabled for iPhone/iPad and Android, Palm,
Blackberry, ... Windows Mobile?

So I can use one "phonegap"-app for most of mobile devices.

Now I want to buy a multi-touch dispay, like Samsung 650TS:
http://www.samsung.com/us/consumer/professional-displays/professional-displays/lcd/LH65TCPMBC/ZA/index.idx?pagetype=prd_detail
or Evoluce ONE: http://www.evoluce.com/en/index.php

Is it possible to create a phonegap based application, which runs on
iPhone/iPad, Android, ... and Multi-Touch displays (and I can use on
the commercial MT display more than one finger?)?
And what is about normal PC displays. With the keyboard / mouse
interaction I can only simulate one touch point?

Perhaps anyone can give me some information?

Best Regards phantomiaser

Nick McCloud

unread,
Sep 6, 2010, 3:10:34 PM9/6/10
to phonegap
Assuming your question is simply: "Can I create a website that can be
used for both mobile & desktop browsers" then the answer is, yes, just
set the event handlers to touchend (webkit based mobile browsers) or
click (the rest plus desktop browsers) as appropriate for the
platform.

On Sep 6, 2:53 pm, phantomiaser <phantomia...@yahoo.de> wrote:
> Hello!
>
> I have a question about phonegap. I can use it to create a website
> which is multi-touch enabled for iPhone/iPad and Android, Palm,
> Blackberry, ... Windows Mobile?
>
> So I can use one "phonegap"-app for most of mobile devices.
>
> Now I want to buy a multi-touch dispay, like Samsung 650TS:http://www.samsung.com/us/consumer/professional-displays/professional...

phantomiaser

unread,
Sep 7, 2010, 10:30:18 AM9/7/10
to phonegap
Oh, okay, thanks a lot! So I can create one frontend for all systems,
that's great :-)
But is it possible to do on a Multi-Touch display (wit Windows 7 as
the OS) in a Safari webbrowser window, that I can use two fingers to
zoom for example a picture?

Best Regards Phantomiaser

D. Rimron

unread,
Sep 7, 2010, 10:34:54 AM9/7/10
to phon...@googlegroups.com
On 07/09/2010 15:30, phantomiaser wrote:
> Oh, okay, thanks a lot! So I can create one frontend for all systems,
> that's great :-)
> But is it possible to do on a Multi-Touch display (wit Windows 7 as
> the OS) in a Safari webbrowser window, that I can use two fingers to
> zoom for example a picture?
That would require you finding Javascript bindings for multitouch.
Safari for iPhone supports such - and can be found here
http://developer.apple.com/safari/library/documentation/appleapplications/reference/SafariJSRef/index.html#//apple_ref/doc/uid/TP40001482
- how you tackle windows 7 depends on what render technology you use for
it :)

-Dx

Nick McCloud

unread,
Sep 7, 2010, 11:15:59 AM9/7/10
to phonegap
The slightly shorter answer to D.Rimon's answer is not really, no. It
is generally the OS that provides multitouch support, not the browser.
So using Safari on Windows doesn't suddenly add such support. HOWEVER,
there are quite a few touch screens that emulate a mouse pointer for
Windows so you could still achieve the same effect.

phantomiaser

unread,
Sep 7, 2010, 11:28:42 AM9/7/10
to phonegap
Hm, now I am totally confused. What is possible, what not?
I see this video of a Firefox developer: http://hacks.mozilla.org/2010/08/firefox4-beta3/
Here it is possible to use two finger gestures to zoom and rotate a
picture. So I thought with Phonegap it is possible for all webkit
webbrowsers?!
So in some kind, the OS has to dispatch the "finger input" to the
webbrowser?

Best Regards phantomiaser

Nick McCloud

unread,
Sep 7, 2010, 11:47:53 AM9/7/10
to phonegap
That is correct, the OS has to tell the browser about the input and
the display has to be touch sensitive.

You implied that running Safari on Windows 7 would give you multi-
touch support - if you had a multitouch screen & Windows 7 you would
still need the browser to support it and Safari doesn't. Firefox can/
will do.

What are you actually trying to do? Then maybe we can offer
suggestions.

phantomiaser

unread,
Sep 7, 2010, 12:12:38 PM9/7/10
to phonegap
I built a DIY multi-touch display based on FTIR, so I have a projector
and an infrared camera which captures the fingers, see nuigroup.com.
I had a Java application combined with a multi-touch library MT4J
(http://www.mt4j.org/mediawiki/index.php/Main_Page)

This was all fine, I can listen on touches and gestures. On my multi-
touch device everything is okay, and on a normal display I can use the
mouse / keyboard to interact with the application.

Now I want to use a commercial multi-touch display, like Evoluce ONE
or Samsung 650TS and I want to run it also on iPad (and on more mobile
devices). So I have to remove my Java frontend and do something which
is platform independent, otherwise I have to develop a Java frontend
and an Objective-C application. But I want to create one frontend for
all.

And so I thought this could be great to achieve this. It is enough if
iPad/iPhone, Android, normal display and a multi-touch display can use
the touches.

Best Regards phantomiaser

phantomiaser

unread,
Sep 10, 2010, 6:51:38 AM9/10/10
to phonegap
Does no one have suggestions to it?
Reply all
Reply to author
Forward
0 new messages