Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.os.Handler;
import android.os.Message;

public class Main {
    public static void delivery2Handler(Handler handler, int what, Object obj) {
        if (handler == null)
            return;
        Message msg = handler.obtainMessage(what);
        msg.obj = obj;
        handler.sendMessage(msg);
    }
}