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

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.

主站蜘蛛池模板: 邵武市| 石城县| 黎川县| 海口市| 西盟| 商南县| 鸡西市| 桦川县| 辽宁省| 禄劝| 钟山县| 谷城县| 东平县| 太白县| 准格尔旗| 潞西市| 乐昌市| 永顺县| 高清| 顺平县| 娄底市| 古蔺县| 太仆寺旗| 烟台市| 峡江县| 济南市| 安丘市| 基隆市| 开封市| 五家渠市| 区。| 普兰店市| 乾安县| 九台市| 肃宁县| 盐亭县| 图片| 上杭县| 金沙县| 富宁县| 兴文县|