Compare commits

...

9 Commits

Author SHA1 Message Date
ZhanGSKen
16dd559c5b <appbase>APK 1.1.3 release Publish. 2025-02-04 08:46:36 +08:00
ZhanGSKen
3793ae3252 调整命名空间,精简代码 2025-02-04 08:45:31 +08:00
ZhanGSKen
dc8f127a8d <libappbase>Library Release 1.1.2 2025-01-23 14:42:57 +08:00
ZhanGSKen
3cf4155eab <appbase>APK 1.1.2 release Publish. 2025-01-23 14:42:39 +08:00
ZhanGSKen
7ca144bfc4 添加 Application 返回函数 2025-01-23 14:41:36 +08:00
ZhanGSKen
73222d3272 <libappbase>Library Release 1.1.1 2025-01-23 14:24:23 +08:00
ZhanGSKen
b9c9eb926d <appbase>APK 1.1.1 release Publish. 2025-01-23 14:23:50 +08:00
ZhanGSKen
35efcdddcd 添加应用上下文函数 2025-01-23 14:23:00 +08:00
ZhanGSKen
fc5ac32514 <libappbase>Library Release 1.1.0 2025-01-22 14:48:24 +08:00
9 changed files with 24 additions and 44 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Wed Jan 22 14:47:54 HKT 2025
stageCount=1
#Tue Feb 04 08:46:36 HKT 2025
stageCount=4
libraryProject=libappbase
baseVersion=1.1
publishVersion=1.1.0
publishVersion=1.1.3
buildCount=0
baseBetaVersion=1.1.1
baseBetaVersion=1.1.4

View File

@@ -5,7 +5,7 @@ package cc.winboll.studio.appbase;
* @Date 2025/01/05 09:54:42
* @Describe APPbase 应用类
*/
import cc.winboll.studio.GlobalApplication;
import cc.winboll.studio.libappbase.GlobalApplication;
public class App extends GlobalApplication {

View File

@@ -4,7 +4,7 @@ apply from: '../.winboll/winboll_lib_build.gradle'
apply from: '../.winboll/winboll_lint_build.gradle'
android {
namespace 'cc.winboll.studio'
namespace 'cc.winboll.studio.libappbase'
compileSdkVersion 32
buildToolsVersion "33.0.3"

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Wed Jan 22 14:47:54 HKT 2025
stageCount=1
#Tue Feb 04 08:46:36 HKT 2025
stageCount=4
libraryProject=libappbase
baseVersion=1.1
publishVersion=1.1.0
publishVersion=1.1.3
buildCount=0
baseBetaVersion=1.1.1
baseBetaVersion=1.1.4

View File

@@ -1,17 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cc.winboll.studio" >
package="cc.winboll.studio.libappbase" >
<application>
<activity
android:name=".CrashHandler$CrashActiviy"
android:label="CrashActiviy"
android:launchMode="standard"/>
<activity
android:name=".libappbase.LibraryActivity"
android:label="@string/lib_name" >
</activity>
</application>
</manifest>

View File

@@ -1,4 +1,4 @@
package cc.winboll.studio;
package cc.winboll.studio.libappbase;
/**
* @Author ZhanGSKen@QQ.COM

View File

@@ -1,4 +1,4 @@
package cc.winboll.studio;
package cc.winboll.studio.libappbase;
/**
* @Author ZhanGSKen@QQ.COM
@@ -43,11 +43,22 @@ import java.util.Arrays;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.concurrent.atomic.AtomicBoolean;
import android.content.pm.ApplicationInfo;
import android.content.res.AssetManager;
public class GlobalApplication extends Application {
private static Handler MAIN_HANDLER = new Handler(Looper.getMainLooper());
@Override
public Context getApplicationContext() {
return super.getApplicationContext();
}
public Application getApplication() {
return this;
}
@Override
public void onCreate() {
super.onCreate();

View File

@@ -1,15 +0,0 @@
package cc.winboll.studio.libappbase;
import android.app.*;
import android.os.*;
import cc.winboll.studio.R;
public class LibraryActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.library);
}
}

View File

@@ -1,11 +0,0 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>