Android examples for Android OS:Message
create Result Response Message
import android.os.Message; public class Main{ public static Message createResultResponseMessage(boolean result) { Message message = Message.obtain(); message.what = ConnectorService.RESPONSE_SENT; message.obj = result;//from w w w. j ava 2s . c om return message; } }