问题描述
嘿所有,
我很快就无法在表面/ Windows 7 Touch机器上使用,但我的一位客户可能希望进行一些开发贸易展摊位他们正在使用一些新的PixelSense机器,所以我在网络浏览器中有一个关于触摸事件
的快速问题。
I can't get my hands on a surface/Windows 7 Touch machine anytime soon, but one of my clients might want some development done for a trade show booth they're building with some of the new PixelSense machines, so I had a quick question about touch events in a web browser.
如果PixelSense UI以触摸设备(例如智能手机)的方式将触摸事件推送到Web浏览器,是否有人知道(或有人可以找到)?我们正在尝试为PixelSense构建一个Web应用程序,我们需要知道是否可以使用event.touches
数组/触摸事件,或者我们是否需要回退鼠标事件。
Does anyone know (or can someone find out) if the PixelSense UI pushes touch events to the web browser the same way a touch device (e.g. smartphone) does? We're trying to build a web app for PixelSense and we need to know if we can use the event.touches array/touch events or if we need to fall back on mouse events.
请告诉我。谢谢!
- 布拉德
PS- 奖金:有人知道我们能不能安装/嵌入一个单独的浏览器(即Chrome?)?谢谢!
P.S- Bonus: Does anyone know we if we can install/embed a a separate browser (i.e. Chrome?)? Thanks!
推荐答案
我还要解释一下,Surface pixelsense还没有用于构建Web应用程序。这不是产品的目标,因为Web浏览器不能访问触摸,而且它不是基于多用户的。我有不同的项目客户,他们希望b $ b开始在网上开始,但在正确解释产品构建的内容以及它的主要目标是什么之后,这些客户清楚地理解。您需要在多用户环境
中将Surface视为数据使用者和演示者,其中偶数这些数据来自。
Let me explain you also that, Surface pixelsense has not been done for building web application. This is not the goal of the product because web browser do not acces touch and the wors it is not multi user based. I had different project customer who wants at the begining brwosing the web, but after explaining them correctly what the product has been build and what is its primary goal, those customers clearly understand. You need to see Surface as data consumer and presenter in a multi user environement where evenr those data comes from.
在构建Surface应用程序时,Microsoft已经发布了一份关于开发人员相关指南的文档,并且我们需要遵循这些指导原则。
Microsoft has releass also a document for developpers relative to guide line to follow when building a Surface application and for great experience we need to follow those guide lines.
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=26715
当客户想要Surface pixelsense时,他们总是认为Surface应用程序是任何桌面应用程序的传统应用程序。幸运的是,情况并非如此。
When customers want Surface pixelsense, they always think that a Surface application is a traditionnal one as any desktop application. Luckyly this is not the case.
如果有帮助则标记为其他人的答案
Thnaks to mark as answer for others if it helps
希望它有助于支付b
问候
hope it helps
regards
Serge
这篇关于PixelSense Web浏览器触摸事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!