| | |
| | | import android.support.annotation.NonNull; |
| | | import android.util.Log; |
| | | |
| | | import com.anyun.exam.lib.AYSdk; |
| | | import com.anyun.exam.lib.IAYExamListener; |
| | | |
| | | import me.yokeyword.fragmentation.Fragmentation; |
| | | import me.yokeyword.fragmentation.helper.ExceptionHandler; |
| | | |
| | |
| | | * 邮箱:632393724@qq.com |
| | | * All Rights Saved! Chongqing AnYun Tech co. LTD |
| | | */ |
| | | public class app extends Application { |
| | | public class app extends Application implements IAYExamListener { |
| | | |
| | | private static final String TAG = "app"; |
| | | @Override |
| | |
| | | } |
| | | }) |
| | | .install(); |
| | | |
| | | AYSdk.getInstance().init(getApplicationContext()); |
| | | AYSdk.getInstance().registListener(this); |
| | | } |
| | | |
| | | @Override |
| | | public void onTerminate() { |
| | | super.onTerminate(); |
| | | AYSdk.getInstance().uninit(); |
| | | } |
| | | |
| | | @Override |
| | | public void callBackMsg(String json) { |
| | | Log.d(TAG,"收到=="+json); |
| | | } |
| | | } |