Android Messenger Send send(Messenger messenger, Message msg)

Here you can find the source of send(Messenger messenger, Message msg)

Description

send

Declaration

public static void send(Messenger messenger, Message msg) 

Method Source Code

//package com.java2s;
import android.os.Message;
import android.os.Messenger;
import android.util.Log;

public class Main {
    public static void send(Messenger messenger, Message msg) {
        try {/*from w w w .  ja  v a  2s  .  co m*/
            messenger.send(msg);
        } catch (Exception e) {
            Log.i("LOG", "Error sending message", e);
        }
    }
}