Sensor tag application which will receive data like temperature, accelerometer, touch from ble sensors and transmit it using http connection. if it fails then it will transmit data using sms. It will save data on a file mobile..
Android-Application-Code... is hosted in the following web site
https://github.com/nihesh7391/Android-Application-Code...
If you think the Android project Android-Application-Code... 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 Android-Application-Code....
Item | Value |
---|---|
Java File Count | 21 |
Supported screen sizes | [mdpi, xxhdpi, xhdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 18 |
Activity Count | 3 |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN android.permission.CHANGE_NETWORK_STATE android.permission.INTERNET android.permission.READ_EXTERNAL_STORAGE android.permission.SEND_SMS android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE |
Asset File Names | assets\SensorTagImgA.bin assets\SensorTagImgB.bin |
There are 16 image files in Android-Application-Code.... The names of the image files are listed as follows.
accelerometer.png barometer.png buttonsoffoff.png buttonsoffon.png buttonsonoff.png buttonsonon.png gyroscope.png humidity.png irtemperature.png sensortag.png sensortag_device_information.png sensortag_magnetometer.png sensortag_simplekeys.png temperature.png touch_sensor.png unknown.png
The following screenshort is generated from the image listed above.
Android-Application-Code... has the following Java source files.
com.ti.sensortag.ble.AdListener.java com.ti.sensortag.ble.BluetoothGattUtils.java com.ti.sensortag.ble.LeController.java com.ti.sensortag.ble.ScanRestarter.java com.ti.sensortag.ble.SensorTag.java com.ti.sensortag.ble.WriteQueue.java com.ti.sensortag.ble.static.java com.ti.sensortag.gui.devices.AboutDialog.java com.ti.sensortag.gui.devices.DevicesActivity.java com.ti.sensortag.gui.preferences.PreferencesActivity.java com.ti.sensortag.gui.preferences.PreferencesFragment.java com.ti.sensortag.gui.preferences.PreferencesListener.java com.ti.sensortag.gui.services.ServicesActivity.java com.ti.sensortag.models.Point3D.java