官术网_书友最值得收藏!

Taking user inputs

There are multiple ways in which you can take inputs from your Android device. Here are a few ways:

  • UI buttons: Buttons drawn on your app's UI
  • Hardware buttons: The keys on your Android device
  • Touch screen inputs: Touches mapped based on the screen coordinates
  • Accelerometer readings: Motion sensor readings

We will be taking a look at each of these input types. So, let's start with the very first type of input, UI buttons.

主站蜘蛛池模板: 甘德县| 佛教| 和平区| 会同县| 景谷| 彭水| 长宁区| 紫云| 余姚市| 鲁甸县| 满洲里市| 谷城县| 满洲里市| 新邵县| 成都市| 余干县| 尖扎县| 股票| 栾城县| 平凉市| 托里县| 天津市| 杨浦区| 资溪县| 茌平县| 武汉市| 台山市| 甘孜| 尼玛县| 米易县| 永安市| 剑阁县| 波密县| 禄丰县| 镇坪县| 祁连县| 公安县| 龙游县| 新平| 皋兰县| 中山市|