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

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.

主站蜘蛛池模板: 鲜城| 庆城县| 陕西省| 普定县| 大同县| 大新县| 木兰县| 康乐县| 泾源县| 巴林左旗| 阿合奇县| 乾安县| 云梦县| 成武县| 迁西县| 新乐市| 桃园县| 唐河县| 应城市| 齐齐哈尔市| 罗源县| 库车县| 特克斯县| 河北区| 吴忠市| 乐安县| 红河县| 志丹县| 通化市| 莒南县| 新沂市| 安福县| 大名县| 盐边县| 泸水县| 始兴县| 梁河县| 阿勒泰市| 马关县| 金平| 托克逊县|