2022年7月20日

安卓罗盘指南针

摘要: 方式1目前谷歌建议使用SensorManager中Sensor.TYPE_ACCELEROMETER和Sensor.TYPE_MAGNETIC_FIELD SensorManager sm = (SensorManager) context.getSystemService(Context.SENS 阅读全文

posted @ 2022-07-20 16:35 Just丶随心 阅读(122) 评论(0) 推荐(0)

安卓对float取整

摘要: (int)f 阅读全文

posted @ 2022-07-20 13:34 Just丶随心 阅读(160) 评论(0) 推荐(0)

导航