Skip to content

Commit 16dbc55

Browse files
committedMay 16, 2016
add copyright
1 parent 64e57ae commit 16dbc55

35 files changed

+171
-5
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ axbaseHost/bin
33
axbaseProtocol/bin
44
R.java
55
axbasePlugin/bin
6+
axbaseCore/bin

‎axbaseCore/bin/axbaselib.jar

-58.5 KB
Binary file not shown.

‎axbaseCore/src/info/axbase/app/AxPluginClient.java

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import info.axbase.plugin.AxPluginManager;
@@ -13,19 +18,19 @@
1318
public class AxPluginClient extends PluginClient {
1419
private AxPluginManager plugMgr;
1520
private Map<String, String> plugMap = new HashMap<String, String>();
16-
21+
1722
@Override
1823
protected void onInit(Context context) {
1924
plugMgr = AxPluginManager.getInstance();
2025
plugMgr.init(context);
2126
}
22-
27+
2328
@Override
2429
protected void uninstall(String id) {
2530
String pkgName = plugMap.get(id);
2631
plugMgr.removePlugin(pkgName);
2732
}
28-
33+
2934
@Override
3035
protected void install(String file, String id) {
3136
try {
@@ -35,12 +40,12 @@ protected void install(String file, String id) {
3540
e.printStackTrace();
3641
}
3742
}
38-
43+
3944
protected boolean isInstalled(String id) {
4045
String pkgName = plugMap.get(id);
4146
return plugMgr.getPlugin(pkgName) != null;
4247
}
43-
48+
4449
@Override
4550
public boolean startMainActivity(Context context, String id) {
4651
String pkgName = plugMap.get(id);

‎axbaseCore/src/info/axbase/app/Config.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
public class Config {

‎axbaseCore/src/info/axbase/app/DownloadTask.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import info.axbase.app.UpdateService.OfflineVersion;

‎axbaseCore/src/info/axbase/app/Plugin.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
public class Plugin {

‎axbaseCore/src/info/axbase/app/PluginClient.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import info.axbase.util.SLogger;

‎axbaseCore/src/info/axbase/app/PluginListener.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import android.app.Activity;

‎axbaseCore/src/info/axbase/app/UpdateService.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import info.axbase.util.FileUtil;

‎axbaseCore/src/info/axbase/app/VersionInfo.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.app;
27

38
import java.io.Serializable;

‎axbaseCore/src/info/axbase/appprot/ComponentRegister.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appprot;
27

38
import java.util.HashMap;

‎axbaseCore/src/info/axbase/appprot/Protocol.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appprot;
27

38

‎axbaseCore/src/info/axbase/plugin/ActivityStub.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import android.annotation.SuppressLint;

‎axbaseCore/src/info/axbase/plugin/AppClassLoader.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import java.util.Map;

‎axbaseCore/src/info/axbase/plugin/AxInstrumentation.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import info.axbase.util.Reflection;

‎axbaseCore/src/info/axbase/plugin/AxPluginManager.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import info.axbase.util.FileUtil;

‎axbaseCore/src/info/axbase/plugin/InstrumentationProxy.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import info.axbase.util.Reflection;

‎axbaseCore/src/info/axbase/plugin/PluginClassLoader.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import dalvik.system.DexClassLoader;

‎axbaseCore/src/info/axbase/plugin/PluginContext.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import android.annotation.SuppressLint;

‎axbaseCore/src/info/axbase/plugin/PluginInfo.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.plugin;
27

38
import info.axbase.util.FileUtil;

‎axbaseCore/src/info/axbase/util/FileUtil.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.io.BufferedInputStream;

‎axbaseCore/src/info/axbase/util/HttpClient.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.io.BufferedOutputStream;

‎axbaseCore/src/info/axbase/util/Logcat.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.io.BufferedReader;

‎axbaseCore/src/info/axbase/util/Reflection.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.lang.reflect.Field;

‎axbaseCore/src/info/axbase/util/SLogger.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.util.HashMap;

‎axbaseCore/src/info/axbase/util/StreamUtil.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.util;
27

38
import java.io.ByteArrayOutputStream;

‎axbaseHostApp/axbaseHost/src/main/java/info/axbase/apphost/AppApplication.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.apphost;
27

38
import info.axbase.app.Config;

‎axbaseHostApp/axbaseHost/src/main/java/info/axbase/apphost/MainActivity.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.apphost;
27

38
import info.axbase.app.PluginClient;

‎axbasePluginApp/src/info/axbase/appex/InternalActivity.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appex;
27

38
import android.app.Activity;

‎axbasePluginApp/src/info/axbase/appex/MainActivity.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appex;
27

38
import info.axbase.appprot.ComponentRegister;

‎axbasePluginApp/src/info/axbase/appex/PluginApplication.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appex;
27

38
import android.app.Application;

‎axbasePluginApp/src/info/axbase/appex/PluginService.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appex;
27

38
import android.app.Service;

‎axbasePluginApp/src/info/axbase/appex/RegistedActivity.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appex;
27

38
import android.app.Activity;

‎axbaseProtocol/src/info/axbase/appprot/ComponentRegister.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appprot;
27

38
import java.util.HashMap;

‎axbaseProtocol/src/info/axbase/appprot/Protocol.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Axbase Project
3+
* Copyright (c) 2016 chunquedong
4+
* Licensed under the LGPL(http://www.gnu.org/licenses/lgpl.txt), Version 3
5+
*/
16
package info.axbase.appprot;
27

38

0 commit comments

Comments
 (0)
Please sign in to comment.