处理摇事件中的Andr​​oid(1.5 +?) [英] Handling Shake Events in Android (1.5+?)

查看:128
本文介绍了处理摇事件中的Andr​​oid(1.5 +?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

pretty的新来这里Android开发...有一个例子在那里的工作程序与源做一些事情,当你摇晃手机?这是可行的后台程序?完成google搜索,找不到任何好的例子相当多;只有教程很少背景。

Pretty new to Android development here... Is there an example out there of a working app with source that does something when you shake the phone? Is this doable in a background app? Done quite a bit of googling and can't find any good examples; only tutorials with little context.

谢谢!

推荐答案

你检查这些样品?

http://snipplr.com/view/14890 /处理-换血的事件上,Android为15 /

http://www.clingmarks.com/?p=25

这篇关于处理摇事件中的Andr​​oid(1.5 +?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆