Is there access to the iPhone accelerometer using Javascript?

前端 未结 5 533
心在旅途
心在旅途 2021-01-01 23:21

I\'m starting to try and do some web based game programming for my iPhone, and other web enabled phones that my friends have, and was having a hard time finding information

5条回答
  •  梦谈多话
    2021-01-01 23:27

    jharlap is correct, however I'd be curious to know if this would work on the Palm Pre. Native development on the Pre is done using html and JavaScript, however there are special JavaScript APIs to access the phone's features that I believe only work for locally stored apps. I wonder if these are available through the browser. I doubt it, but it would be interesting.

提交回复
热议问题