Merge branch 'appbase' into apputils
This commit is contained in:
commit
d3b12207e0
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Mar 15 04:31:43 GMT 2025
|
#Sat Mar 15 15:30:02 HKT 2025
|
||||||
stageCount=0
|
stageCount=3
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.0
|
publishVersion=15.0.2
|
||||||
buildCount=1
|
buildCount=0
|
||||||
baseBetaVersion=15.0.1
|
baseBetaVersion=15.0.3
|
||||||
|
@ -37,7 +37,10 @@ public class MainActivity extends Activity {
|
|||||||
cbIsDebugMode.setChecked(GlobalApplication.isDebuging());
|
cbIsDebugMode.setChecked(GlobalApplication.isDebuging());
|
||||||
mLogView = findViewById(R.id.activitymainLogView1);
|
mLogView = findViewById(R.id.activitymainLogView1);
|
||||||
|
|
||||||
if (GlobalApplication.isDebuging()) { mLogView.start(); }
|
if (GlobalApplication.isDebuging()) {
|
||||||
|
mLogView.start();
|
||||||
|
ToastUtils.show("LogView start.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -89,7 +92,7 @@ public class MainActivity extends Activity {
|
|||||||
public void onTestSOS(View view) {
|
public void onTestSOS(View view) {
|
||||||
Intent intent = new Intent(this, TestDemoService.class);
|
Intent intent = new Intent(this, TestDemoService.class);
|
||||||
stopService(intent);
|
stopService(intent);
|
||||||
if(App.isDebuging()) {
|
if (App.isDebuging()) {
|
||||||
SOS.sosToAppBaseBeta(this, TestDemoService.class.getName());
|
SOS.sosToAppBaseBeta(this, TestDemoService.class.getName());
|
||||||
} else {
|
} else {
|
||||||
SOS.sosToAppBase(this, TestDemoService.class.getName());
|
SOS.sosToAppBase(this, TestDemoService.class.getName());
|
||||||
@ -107,7 +110,7 @@ public class MainActivity extends Activity {
|
|||||||
Intent intent = new Intent(this, TestDemoService.class);
|
Intent intent = new Intent(this, TestDemoService.class);
|
||||||
intent.setAction(TestDemoService.ACTION_DISABLE);
|
intent.setAction(TestDemoService.ACTION_DISABLE);
|
||||||
startService(intent);
|
startService(intent);
|
||||||
|
|
||||||
Intent intentStop = new Intent(this, TestDemoService.class);
|
Intent intentStop = new Intent(this, TestDemoService.class);
|
||||||
stopService(intentStop);
|
stopService(intentStop);
|
||||||
}
|
}
|
||||||
@ -116,7 +119,7 @@ public class MainActivity extends Activity {
|
|||||||
Intent intent = new Intent(this, TestDemoService.class);
|
Intent intent = new Intent(this, TestDemoService.class);
|
||||||
stopService(intent);
|
stopService(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onSartTestDemoBindService(View view) {
|
public void onSartTestDemoBindService(View view) {
|
||||||
Intent intent = new Intent(this, TestDemoBindService.class);
|
Intent intent = new Intent(this, TestDemoBindService.class);
|
||||||
intent.setAction(TestDemoBindService.ACTION_ENABLE);
|
intent.setAction(TestDemoBindService.ACTION_ENABLE);
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Mar 15 04:31:43 GMT 2025
|
#Sat Mar 15 15:29:07 HKT 2025
|
||||||
stageCount=0
|
stageCount=3
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.0
|
publishVersion=15.0.2
|
||||||
buildCount=1
|
buildCount=0
|
||||||
baseBetaVersion=15.0.1
|
baseBetaVersion=15.0.3
|
||||||
|
@ -28,6 +28,6 @@ public class ToastUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void show(String message) {
|
public static void show(String message) {
|
||||||
Toast.makeText(getInstance().mContext, "", Toast.LENGTH_SHORT).show();
|
Toast.makeText(getInstance().mContext, message, Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user