KamoLand Mastodon
TYPE_ORIENTATIONãéæ¨å¥¨ã¨ãªã£ã¦ãããä»å¾ã®ãã¼ã¸ã§ã³ã¢ãããèããã¨ããã¾ã¾ã§ã¨åã使ãåæã§å¾ããæ±ãããã¨ã¯é æ ®ããæ¹ãããããã§ãã å¾ãå°åºæ¹æ³(å¾æ¥) ãã¡ããéæ¨å¥¨ã§ã¯ããã¾ãããä»ã¾ã§éãã®æ¹æ³ã§ããå¾ã(æ¹å)ãæ±ãããã¨ãåºæ¥ã¾ãã 以ä¸ã¯ãå¾æ¥æ¹å¼ã®ãµã³ãã«ã§ãã List<Sensor> sensors = SensorManager.getSensorList(Sensor.TYPE_ORIENTATION); Sensor sensor = sensors.get(0); SensorManager.registerListener(this,sensor,SensorManager.SENSOR_DELAY_NORMAL); ⦠public void onSensorChanged(SensorEvent event) { if (event
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}