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 com.colecago.santa; // ww w . j a v a 2s .c om import android.os.Handler; import android.os.Message; public class BtHelperHandler 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]; } }