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

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.

主站蜘蛛池模板: 诸暨市| 四子王旗| 印江| 米易县| 集安市| 全椒县| 张家港市| 新民市| 宝清县| 宜州市| 黄陵县| 冕宁县| 徐闻县| 蚌埠市| 内丘县| 积石山| 资阳市| 嵊州市| 长阳| 遵义市| 繁昌县| 华亭县| 鹿邑县| 博野县| 沁阳市| 云林县| 宁德市| 万全县| 玛多县| 湘潭市| 彰化市| 厦门市| 富锦市| 得荣县| 平乡县| 泰宁县| 西平县| 金沙县| 泸州市| 什邡市| 喜德县|