Merge branch 'appbase' into apputils

This commit is contained in:
ZhanGSKen 2025-03-15 19:38:11 +08:00
commit d3b12207e0
4 changed files with 18 additions and 15 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 04:31:43 GMT 2025
stageCount=0
#Sat Mar 15 15:30:02 HKT 2025
stageCount=3
libraryProject=libappbase
baseVersion=15.0
publishVersion=15.0.0
buildCount=1
baseBetaVersion=15.0.1
publishVersion=15.0.2
buildCount=0
baseBetaVersion=15.0.3

View File

@ -37,7 +37,10 @@ public class MainActivity extends Activity {
cbIsDebugMode.setChecked(GlobalApplication.isDebuging());
mLogView = findViewById(R.id.activitymainLogView1);
if (GlobalApplication.isDebuging()) { mLogView.start(); }
if (GlobalApplication.isDebuging()) {
mLogView.start();
ToastUtils.show("LogView start.");
}
}
@Override
@ -89,7 +92,7 @@ public class MainActivity extends Activity {
public void onTestSOS(View view) {
Intent intent = new Intent(this, TestDemoService.class);
stopService(intent);
if(App.isDebuging()) {
if (App.isDebuging()) {
SOS.sosToAppBaseBeta(this, TestDemoService.class.getName());
} else {
SOS.sosToAppBase(this, TestDemoService.class.getName());
@ -107,7 +110,7 @@ public class MainActivity extends Activity {
Intent intent = new Intent(this, TestDemoService.class);
intent.setAction(TestDemoService.ACTION_DISABLE);
startService(intent);
Intent intentStop = new Intent(this, TestDemoService.class);
stopService(intentStop);
}
@ -116,7 +119,7 @@ public class MainActivity extends Activity {
Intent intent = new Intent(this, TestDemoService.class);
stopService(intent);
}
public void onSartTestDemoBindService(View view) {
Intent intent = new Intent(this, TestDemoBindService.class);
intent.setAction(TestDemoBindService.ACTION_ENABLE);

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 04:31:43 GMT 2025
stageCount=0
#Sat Mar 15 15:29:07 HKT 2025
stageCount=3
libraryProject=libappbase
baseVersion=15.0
publishVersion=15.0.0
buildCount=1
baseBetaVersion=15.0.1
publishVersion=15.0.2
buildCount=0
baseBetaVersion=15.0.3

View File

@ -28,6 +28,6 @@ public class ToastUtils {
}
public static void show(String message) {
Toast.makeText(getInstance().mContext, "", Toast.LENGTH_SHORT).show();
Toast.makeText(getInstance().mContext, message, Toast.LENGTH_SHORT).show();
}
}