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

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.

主站蜘蛛池模板: 石楼县| 县级市| 阿拉善左旗| 蒙城县| 阜新市| 务川| 鹿邑县| 浑源县| 惠水县| 多伦县| 乐业县| 吕梁市| 岑巩县| 澜沧| 大田县| 平南县| 温泉县| 抚松县| 福安市| 汨罗市| 元谋县| 综艺| 太原市| 乐山市| 张北县| 吉林市| 姚安县| 南漳县| 双流县| 仙居县| 惠来县| 蓝山县| 张家界市| 蕉岭县| 石阡县| 山阳县| 公主岭市| 平塘县| 呼伦贝尔市| 常宁市| 曲水县|