国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

android - 安卓怎么傳感器數(shù)據(jù)?
迷茫
迷茫 2017-04-17 15:17:46
0
2
408

小組實驗,編寫安卓手機程序,自動收集手機傳感器信息,例如,wifi、GPS、音量、重力加速度等信息。

這個要怎么學(xué)最快呢?我去網(wǎng)上找安卓教程,都是從UI布局,按鈕觸發(fā)事件開始講的,我不需要UI,只要能采集傳感器的數(shù)據(jù)就行了。

我習(xí)慣用C++,遇到j(luò)ava的程序,基本能看懂,看不懂的查資料。

求問我一定需要下一個安卓模擬器還是直接用我的小米手機測試(有一個閑置的手機)?
或者哪里有源代碼可以直接研究?
感激不盡。

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

reply all(2)
PHPzhong

SensorManager can be used for the sensor part
Reference:
http://developer.android.com/reference/android/hardware/SensorManager.html
http://developer.android.com/guide/ topics/sensors/sensors_overview.html
WIFI information has WifiManager
Reference:
http://developer.android.com/reference/android/net/wifi/WifiManager.html

Google official documents are available.

黃舟

Reference: https://github.com/emotionsense/SensorManager
Someone has already built the wheel.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template