Example Code for Using the Sensor Manager/Sensor Data Manager Libraries.
ESLibrary-Examples is hosted in the following web site
https://github.com/xsenselabs/ESLibrary-Examples
If you think the Android project ESLibrary-Examples listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of ESLibrary-Examples.
Item | Value |
---|---|
Java File Count | 38 |
Supported screen sizes | [mdpi, hdpi, xhdpi] |
Target SDK Version | 19 |
Minimum SDK Version | 19 |
Activity Count | 14 |
Fragment Count | 1 |
jar files used | android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar android-support-v4.jar sensormanager.jar |
Required Permissions | android.permission.ACCESS_COARSE_LOCATION android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE android.permission.BATTERY_STATS android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN android.permission.CAMERA android.permission.CHANGE_WIFI_STATE android.permission.GET_TASKS android.permission.INTERNET android.permission.PROCESS_OUTGOING_CALLS android.permission.READ_CALL_LOG android.permission.READ_CONTACTS android.permission.READ_PHONE_STATE android.permission.READ_SMS android.permission.RECEIVE_SMS android.permission.RECORD_AUDIO android.permission.VIBRATE android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE |
Asset File Names | assets\momentary_sensors.json assets\sensors.json |
There are 1 image files in ESLibrary-Examples. The names of the image files are listed as follows.
ic_action_search.png
The following screenshort is generated from the image listed above.
ESLibrary-Examples has the following Java source files.
com.example.es2librarydemo.DemoActivity.java com.example.es2librarydemo.ESThread.java com.example.sensingwithalarmsexample.IntervalService.java com.example.sensingwithalarmsexample.MainActivity.java com.example.sensingwithalarmsexample.SelfSettingService.java com.example.testapp.MainActivity.java com.example.testapp.sense.AbstractService.java com.example.testapp.sense.ServiceA.java com.example.testapp.sense.ServiceB.java com.ubhave.example.basicsensordataexample.MainActivity.java com.ubhave.example.basicsensordataexample.SenseFromAllEnvSensorsTask.java com.ubhave.example.basicsensordataexample.SenseFromAllPullSensorsTask.java com.ubhave.example.basicsensordataexample.SenseFromAllPushSensorsTask.java com.ubhave.example.basicsensordataexample.SubscribeTask.java com.ubhave.example.capturemedia.ExampleAsyncTransferLogger.java com.ubhave.example.capturemedia.ExampleSensorListener.java com.ubhave.example.capturemedia.MainActivity.java com.ubhave.example.sensordatamanager.ExampleSensorListener.java com.ubhave.example.sensordatamanager.MainActivity.java com.ubhave.example.sensordatamanager.loggers.ExampleAsyncTransferLogger.java com.ubhave.example.sensordatamanager.loggers.ExampleImmediateTransferLogger.java com.ubhave.example.sensordatamanager.loggers.ExampleStoreOnlyLogger.java com.ubhave.example.subscribeapi19.MainActivity.java com.ubhave.example.testinglogqueries.MainActivity.java com.ubhave.example.testinglogqueries.QueryTask.java com.ubhave.sensormanager.tester.ApplicationContext.java com.ubhave.sensormanager.tester.ExampleAbstractActivity.java com.ubhave.sensormanager.tester.ExampleSensorDataListener.java com.ubhave.sensormanager.tester.MainActivity.java com.ubhave.sensormanager.tester.SensorDataUI .java com.ubhave.sensormanager.tester.SensorListActivity.java com.ubhave.sensormanager.tester.pull.AbstractPullSensorExampleActivity.java com.ubhave.sensormanager.tester.pull.ConfigurablePullSensorExampleActivity.java com.ubhave.sensormanager.tester.pull.ExampleSensorConfigUpdater .java com.ubhave.sensormanager.tester.pull.NonConfigurablePullSensorExampleActivity.java com.ubhave.sensormanager.tester.pull.SampleOnceTask.java com.ubhave.sensormanager.tester.pull.UpdateSensorConfigExampleActivity.java com.ubhave.sensormanager.tester.push.PushSensorExampleActivity.java