@@ -0,0 +1,856 @@
+package com.example.fine.ndksample.ndkInterface;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A * Messager%0A */%0Apublic class Messager %7B%0A%0A    private static final ArrayList%3CMessageCallBack%3E callBacks = new ArrayList%3C%3E();%0A%0A    public static synchronized void addListener(MessageCallBack callBack) %7B%0A        if (!callBacks.contains(callBack)) %7B%0A            callBacks.add(callBack);%0A        %7D%0A    %7D%0A%0A    public static synchronized void removeListener(MessageCallBack callBack) %7B%0A        if (callBacks.contains(callBack)) %7B%0A            callBacks.remove(callBack);%0A        %7D%0A    %7D%0A%0A    public void notifyMessage(String msg) %7B%0A        synchronized (callBacks) %7B%0A            for (MessageCallBack callBack : callBacks) %7B%0A                callBack.onCallBack(msg);%0A            %7D%0A        %7D%0A    %7D%0A%0A    public interface MessageCallBack %7B%0A        void onCallBack(String msg);%0A    %7D%0A%7D%0A

add Messager