开发者

How to handle screen motion of silverlight Windows phone 7 programmatically?

How to handle screen motion of silverlight Windo开发者_JAVA技巧ws phone 7 programmatically?


The motion of the phone screen is controlled entirely by the user. Whilst the device has an accelerometer which can be used to gauge motion in all three axes, it does not have any means of powering its own motion.

I would consider a couple of solutions:

  1. Modify the hardware, perhaps add propellers to the handset. Quadrocopters are a popular configuration, giving both stability and maneuverability (they can even juggle!)
  2. If hardware modification is not an option, you are going to have to rely on the user. I would suggest displaying a large arrow indicating to the user the direction you wish to move the handset in. You can achieve this with a single arrow image using a RotateTransform.

Hope that help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜