Click here to Skip to main content
13,090,446 members (42,563 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi all,

I just wonder weather it is possible or not. How can I develop a web application which could use with a touch screen, with functionalities such as drag-drop re-size and all. (similar to smart phones). Is it more likely Metro UI?

Comments and feedback really appreciate.

Thanks in advance.
Posted 3-Sep-12 23:29pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

A Web application, no matter what you write, cannot touch such behavior which belongs to the client system and the browser. In principle, it's possible to create a specialized Web browser or an plug-in to some existing browser, which would be a great work, too complex to discuss it here seriously.

It looks like the question is based on lack of understanding on how Web works and what the client and server parts do. You need to learn these basic things first.

CodingLover 4-Sep-12 22:39pm
Thanks for the comment.

Actually I know how the web works and all related. My concern is not about that, but how touch-screen related functionalities works. For example, we can implement drag-drop in many ways. But I don't know how it could behave when comes to a touch screen. Is same mouse event behave as it is. Hope you got my point.
I see your point, but let's consider the facts. The part of it is existing Web operation. It's good that you know how it works. Now, you see, touch screen specific behavior had never been a part of any Web standard. And the Web is essentially the set of standards (at least from what I know). If you take it in consideration with what you know about the Web operation, you will come to the same conclusion: the only way to support some touch screen specific behavior would be some particular browser's features. As the Web application cannot use any knowledge of the client system and particular browser, and touch screen related behavior is not standardized, you cannot modify the scripts, HTML, Javascript or something like that to work with touch screen. All you can do is making controls larger (so they can be manipulated with a thick finger) or something like that, pure stylistic changes.
CodingLover 5-Sep-12 9:47am
So basically its about new look into the web, but not specifically to the functionality.
You are perfectly right. In general, the standards like those related to Internet reflect typical state of the computing in general. When (and if) touch screen technologies perfect and become a common place, the might be embraced by Web. Look at the tabbed-style UI: many ask how to control the browser tabs by the Web applications, but it does not happen because Web is more conservative, and it makes perfect sense. Take your touch screen technologies... they are not yet there, and we don't know if they are going to became of commonplace ever, or not. Maybe they will be rendered obsolete before becoming common by some more effective technology, such as touchless gesture recognition, through a camera. What to do then?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100