Back to project page Bluetooth.
The source code is released under:
GNU General Public License
If you think the Android project Bluetooth listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package heck.pinball.ghostscanner; //from w w w.j a v a 2 s . com /** * Created by Technician on 5/6/14. */ import android.os.Handler; import android.os.Message; public class BluetoothHandler extends Handler { public enum MessageType { STATE, READ, WRITE, DEVICE, NOTIFY; } public Message obtainMessage(MessageType message, int count, Object obj){ return obtainMessage(message.ordinal(), count, -1, obj); } public MessageType getMessageType(int ordinal){ return MessageType.values()[ordinal]; } }