Ejemplo de como controlar desde un smartphone con android un arduino a traves de bluetooth..
AndroidAndArduino is hosted in the following web site
https://github.com/xabe/AndroidAndArduino
If you think the Android project AndroidAndArduino 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 AndroidAndArduino.
Item | Value |
---|---|
Java File Count | 31 |
Target SDK Version | 16 |
Minimum SDK Version | 10 |
Activity Count | 3 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN |
Asset File Names | assets\DS-DIGI.TTF assets\DS-DIGIB.TTF assets\DS-DIGII.TTF assets\DS-DIGIT.TTF |
AndroidAndArduino has the following Java source files.
com.tutorial.bluetooth.ArduinoActivity.java com.tutorial.bluetooth.CarActivity.java com.tutorial.bluetooth.MainActivity.java com.tutorial.bluetooth.SocketApplication.java com.tutorial.bluetooth.broadReceiver.BroadcastReceiverChangeBond.java com.tutorial.bluetooth.broadReceiver.BroadcastReceiverDiscovery.java com.tutorial.bluetooth.broadReceiver.BroadcastReceiverFound.java com.tutorial.bluetooth.connect.BluetoothService.java com.tutorial.bluetooth.connect.ConnectThread.java com.tutorial.bluetooth.connect.ConnectedThread.java com.tutorial.bluetooth.event.ButtonClicked.java com.tutorial.bluetooth.event.ListItemClicked.java com.tutorial.bluetooth.event.ListItemClickedonPaired.java com.tutorial.bluetooth.sensor.OrientationListener.java com.tutorial.bluetooth.sensor.OrientationManager.java com.tutorial.bluetooth.sensor.SensorEventListener.java com.tutorial.bluetooth.util.Arrow.java com.tutorial.bluetooth.util.Circle.java com.tutorial.bluetooth.util.Constants.java com.tutorial.bluetooth.util.Dial.java com.tutorial.bluetooth.util.Gearbox.java com.tutorial.bluetooth.util.HandleData.java com.tutorial.bluetooth.util.Polygon.java com.tutorial.bluetooth.util.RotateWheel.java com.tutorial.bluetooth.util.SpeedMarker.java com.tutorial.bluetooth.util.SpeedoMeter.java com.tutorial.bluetooth.util.Text.java com.tutorial.bluetooth.util.ViewThread.java com.tutorial.bluetooth.view.ArduinoView.java com.tutorial.bluetooth.view.BaseView.java com.tutorial.bluetooth.view.CarView.java