Compare commits
17 Commits
contacts-v
...
appbase-v1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17c373c490 | ||
|
|
5f7c94b349 | ||
|
|
c2b739d345 | ||
|
|
67a05cd457 | ||
|
|
554ab758bf | ||
|
|
20e118cd34 | ||
|
|
f370ae8ffb | ||
|
|
c92c874ea1 | ||
|
|
90a6116c0a | ||
|
|
45208ecbb1 | ||
|
|
945eadb617 | ||
|
|
c5bffc5eef | ||
|
|
88597fe407 | ||
|
|
53f985533a | ||
|
|
a3950f13ad | ||
|
|
c878e9dc02 | ||
|
|
f2f7cab330 |
@@ -30,7 +30,7 @@ android {
|
|||||||
// versionName 更新后需要手动设置
|
// versionName 更新后需要手动设置
|
||||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||||
versionName "15.8"
|
versionName "15.9"
|
||||||
if(true) {
|
if(true) {
|
||||||
versionName = genVersionName("${versionName}")
|
versionName = genVersionName("${versionName}")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Jun 09 09:38:19 HKT 2025
|
#Thu Jul 17 11:39:14 HKT 2025
|
||||||
stageCount=9
|
stageCount=2
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.8
|
baseVersion=15.9
|
||||||
publishVersion=15.8.8
|
publishVersion=15.9.1
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.8.9
|
baseBetaVersion=15.9.2
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sun Jul 06 16:18:59 HKT 2025
|
#Thu Jul 17 09:57:24 HKT 2025
|
||||||
stageCount=10
|
stageCount=12
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.3
|
baseVersion=15.3
|
||||||
publishVersion=15.3.9
|
publishVersion=15.3.11
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.3.10
|
baseBetaVersion=15.3.12
|
||||||
|
|||||||
@@ -198,6 +198,9 @@ public class SettingsActivity extends AppCompatActivity implements IWinBoLLActiv
|
|||||||
settingsModel.setDunTotalCount(Integer.parseInt(etDunTotalCount.getText().toString()));
|
settingsModel.setDunTotalCount(Integer.parseInt(etDunTotalCount.getText().toString()));
|
||||||
settingsModel.setDunResumeSecondCount(Integer.parseInt(etDunResumeSecondCount.getText().toString()));
|
settingsModel.setDunResumeSecondCount(Integer.parseInt(etDunResumeSecondCount.getText().toString()));
|
||||||
settingsModel.setDunResumeCount(Integer.parseInt(etDunResumeCount.getText().toString()));
|
settingsModel.setDunResumeCount(Integer.parseInt(etDunResumeCount.getText().toString()));
|
||||||
|
|
||||||
|
// 应用效果提示
|
||||||
|
ToastUtils.show((settingsModel.getDunTotalCount() == 1)?"电话骚扰防御力几乎为0。":String.format("以下设置将在连拨%d次后接通电话。", settingsModel.getDunTotalCount()));
|
||||||
}
|
}
|
||||||
settingsModel.setIsEnableDun(isEnableDun);
|
settingsModel.setIsEnableDun(isEnableDun);
|
||||||
Rules.getInstance(this).saveDun();
|
Rules.getInstance(this).saveDun();
|
||||||
@@ -207,6 +210,7 @@ public class SettingsActivity extends AppCompatActivity implements IWinBoLLActiv
|
|||||||
etDunTotalCount.setText(Integer.toString(settingsModel.getDunTotalCount()));
|
etDunTotalCount.setText(Integer.toString(settingsModel.getDunTotalCount()));
|
||||||
etDunResumeSecondCount.setText(Integer.toString(settingsModel.getDunResumeSecondCount()));
|
etDunResumeSecondCount.setText(Integer.toString(settingsModel.getDunResumeSecondCount()));
|
||||||
etDunResumeCount.setText(Integer.toString(settingsModel.getDunResumeCount()));
|
etDunResumeCount.setText(Integer.toString(settingsModel.getDunResumeCount()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateStreamVolumeTextView() {
|
void updateStreamVolumeTextView() {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Jun 09 09:38:19 HKT 2025
|
#Thu Jul 17 11:39:14 HKT 2025
|
||||||
stageCount=9
|
stageCount=2
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.8
|
baseVersion=15.9
|
||||||
publishVersion=15.8.8
|
publishVersion=15.9.1
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.8.9
|
baseBetaVersion=15.9.2
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ android {
|
|||||||
// versionName 更新后需要手动设置
|
// versionName 更新后需要手动设置
|
||||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||||
versionName "15.2"
|
versionName "15.3"
|
||||||
if(true) {
|
if(true) {
|
||||||
versionName = genVersionName("${versionName}")
|
versionName = genVersionName("${versionName}")
|
||||||
}
|
}
|
||||||
@@ -45,9 +45,9 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api fileTree(dir: 'libs', include: ['*.jar'])
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
api 'cc.winboll.studio:libaes:15.8.0'
|
api 'cc.winboll.studio:libaes:15.9.2'
|
||||||
api 'cc.winboll.studio:libapputils:15.8.1'
|
api 'cc.winboll.studio:libapputils:15.8.4'
|
||||||
api 'cc.winboll.studio:libappbase:15.8.1'
|
api 'cc.winboll.studio:libappbase:15.8.4'
|
||||||
|
|
||||||
api 'io.github.medyo:android-about-page:2.0.0'
|
api 'io.github.medyo:android-about-page:2.0.0'
|
||||||
api 'com.github.getActivity:ToastUtils:10.5'
|
api 'com.github.getActivity:ToastUtils:10.5'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Tue May 20 20:39:06 HKT 2025
|
#Thu Jul 03 13:50:15 HKT 2025
|
||||||
stageCount=6
|
stageCount=2
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.2
|
baseVersion=15.3
|
||||||
publishVersion=15.2.5
|
publishVersion=15.3.1
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.2.6
|
baseBetaVersion=15.3.2
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import cc.winboll.studio.libappbase.winboll.IWinBoLLActivity;
|
|||||||
import cc.winboll.studio.mymessagemanager.App;
|
import cc.winboll.studio.mymessagemanager.App;
|
||||||
import cc.winboll.studio.mymessagemanager.R;
|
import cc.winboll.studio.mymessagemanager.R;
|
||||||
|
|
||||||
public class AboutActivity extends WinBollActivity implements IWinBoLLActivity {
|
public class AboutActivity extends WinBoLLActivity implements IWinBoLLActivity {
|
||||||
|
|
||||||
public static final String TAG = "AboutActivity";
|
public static final String TAG = "AboutActivity";
|
||||||
|
|
||||||
@@ -79,11 +79,11 @@ public class AboutActivity extends WinBollActivity implements IWinBoLLActivity {
|
|||||||
appInfo.setAppName(getString(R.string.app_name));
|
appInfo.setAppName(getString(R.string.app_name));
|
||||||
appInfo.setAppIcon(cc.winboll.studio.libaes.R.drawable.ic_winboll);
|
appInfo.setAppIcon(cc.winboll.studio.libaes.R.drawable.ic_winboll);
|
||||||
appInfo.setAppDescription(getString(R.string.app_description));
|
appInfo.setAppDescription(getString(R.string.app_description));
|
||||||
appInfo.setAppGitName("APP");
|
appInfo.setAppGitName("APPBase");
|
||||||
appInfo.setAppGitOwner("Studio");
|
appInfo.setAppGitOwner("Studio");
|
||||||
appInfo.setAppGitAPPBranch(szBranchName);
|
appInfo.setAppGitAPPBranch(szBranchName);
|
||||||
appInfo.setAppGitAPPSubProjectFolder(szBranchName);
|
appInfo.setAppGitAPPSubProjectFolder(szBranchName);
|
||||||
appInfo.setAppHomePage("https://www.winboll.cc/studio/details.php?app=MyMessageManager");
|
appInfo.setAppHomePage("https://discuz.winboll.cc/forum.php?mod=viewthread&tid=5&extra=page%3D1");
|
||||||
appInfo.setAppAPKName("MyMessageManager");
|
appInfo.setAppAPKName("MyMessageManager");
|
||||||
appInfo.setAppAPKFolderName("MyMessageManager");
|
appInfo.setAppAPKFolderName("MyMessageManager");
|
||||||
return new AboutView(mContext, appInfo);
|
return new AboutView(mContext, appInfo);
|
||||||
|
|||||||
@@ -103,6 +103,9 @@ abstract public class BaseActivity extends AppCompatActivity {
|
|||||||
} else if (R.id.item_defaulttheme == item.getItemId()) {
|
} else if (R.id.item_defaulttheme == item.getItemId()) {
|
||||||
AESThemeUtil.saveThemeStyleID(this, R.style.MyAppTheme);
|
AESThemeUtil.saveThemeStyleID(this, R.style.MyAppTheme);
|
||||||
recreate();
|
recreate();
|
||||||
|
} else if (R.id.item_defaulttheme == item.getItemId()) {
|
||||||
|
AESThemeUtil.saveThemeStyleID(this, R.style.MyAppTheme);
|
||||||
|
recreate();
|
||||||
}
|
}
|
||||||
//ToastUtils.show("nThemeStyleID " + Integer.toString(nThemeStyleID));
|
//ToastUtils.show("nThemeStyleID " + Integer.toString(nThemeStyleID));
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
mToolbar = findViewById(R.id.activitymainASupportToolbar1);
|
mToolbar = findViewById(R.id.activitymainASupportToolbar1);
|
||||||
mToolbar.setSubtitle(getString(R.string.activity_name_main));
|
mToolbar.setSubtitle(getString(R.string.activity_name_main));
|
||||||
setSupportActionBar(mToolbar);
|
setSupportActionBar(mToolbar);
|
||||||
|
|
||||||
boolean isEnableService = mAppConfigUtil.mAppConfigBean.isEnableService();
|
boolean isEnableService = mAppConfigUtil.mAppConfigBean.isEnableService();
|
||||||
msvEnableService = findViewById(R.id.activitymainSwitchView1);
|
msvEnableService = findViewById(R.id.activitymainSwitchView1);
|
||||||
msvEnableService.setChecked(isEnableService);
|
msvEnableService.setChecked(isEnableService);
|
||||||
@@ -269,17 +269,9 @@ public class MainActivity extends BaseActivity {
|
|||||||
public boolean onCreateOptionsMenu(Menu menu) {
|
public boolean onCreateOptionsMenu(Menu menu) {
|
||||||
//return super.onCreateOptionsMenu(menu);
|
//return super.onCreateOptionsMenu(menu);
|
||||||
getMenuInflater().inflate(R.menu.toolbar_main, menu);
|
getMenuInflater().inflate(R.menu.toolbar_main, menu);
|
||||||
|
super.onCreateOptionsMenu(menu);
|
||||||
/*ThemeUtil.BaseTheme baseTheme = ThemeUtil.getTheme(mAppConfigUtil.mAppConfigBean.getAppThemeID());
|
getMenuInflater().inflate(R.menu.toolbar_main2, menu);
|
||||||
if (baseTheme == ThemeUtil.BaseTheme.DEFAULT) {
|
return true;
|
||||||
menu.findItem(R.id.app_defaulttheme).setChecked(true);
|
|
||||||
} else if (baseTheme == ThemeUtil.BaseTheme.SKY) {
|
|
||||||
menu.findItem(R.id.app_skytheme).setChecked(true);
|
|
||||||
} else if (baseTheme == ThemeUtil.BaseTheme.GOLDEN) {
|
|
||||||
menu.findItem(R.id.app_goldentheme).setChecked(true);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
return super.onCreateOptionsMenu(menu);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void reloadSMS() {
|
public static void reloadSMS() {
|
||||||
@@ -306,7 +298,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
startActivity(i);
|
startActivity(i);
|
||||||
} else if (nItemId == R.id.app_log) {
|
} else if (nItemId == R.id.app_log) {
|
||||||
//App.getWinBoLLActivityManager().startLogActivity(this);
|
App.getWinBoLLActivityManager().startLogActivity(this);
|
||||||
} else if (nItemId == R.id.app_unittest) {
|
} else if (nItemId == R.id.app_unittest) {
|
||||||
Intent i = new Intent(MainActivity.this, UnitTestActivity.class);
|
Intent i = new Intent(MainActivity.this, UnitTestActivity.class);
|
||||||
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
@@ -324,7 +316,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
startActivity(i);
|
startActivity(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ import cc.winboll.studio.libaes.beans.AESThemeBean;
|
|||||||
import cc.winboll.studio.libaes.utils.AESThemeUtil;
|
import cc.winboll.studio.libaes.utils.AESThemeUtil;
|
||||||
import cc.winboll.studio.libappbase.winboll.IWinBoLLActivity;
|
import cc.winboll.studio.libappbase.winboll.IWinBoLLActivity;
|
||||||
|
|
||||||
public class WinBollActivity extends AppCompatActivity implements IWinBoLLActivity {
|
public class WinBoLLActivity extends AppCompatActivity implements IWinBoLLActivity {
|
||||||
|
|
||||||
public static final String TAG = "WinBollActivity";
|
public static final String TAG = "WinBoLLActivity";
|
||||||
|
|
||||||
protected volatile AESThemeBean.ThemeType mThemeType;
|
protected volatile AESThemeBean.ThemeType mThemeType;
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
<cc.winboll.studio.shared.log.LogView
|
<cc.winboll.studio.libappbase.LogView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
|
|||||||
@@ -17,26 +17,4 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/app_smsrule"
|
android:id="@+id/app_smsrule"
|
||||||
android:title="@string/text_smsrule"/>
|
android:title="@string/text_smsrule"/>
|
||||||
<item android:title="@string/app_developoptions">
|
|
||||||
<menu>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_log"
|
|
||||||
android:title="@string/app_log"/>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_unittest"
|
|
||||||
android:title="@string/app_unittest"/>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_crashtest"
|
|
||||||
android:title="@string/app_crashtest"/>
|
|
||||||
</menu>
|
|
||||||
</item>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_appsettings"
|
|
||||||
android:title="@string/text_appsettings"/>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_about"
|
|
||||||
android:title="@string/app_about"/>
|
|
||||||
<item
|
|
||||||
android:id="@+id/app_smsrecycle"
|
|
||||||
android:title="@string/app_smsrecycle"/>
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|||||||
26
mymessagemanager/src/main/res/menu/toolbar_main2.xml
Normal file
26
mymessagemanager/src/main/res/menu/toolbar_main2.xml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
<item android:title="@string/app_developoptions">
|
||||||
|
<menu>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_log"
|
||||||
|
android:title="@string/app_log"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_unittest"
|
||||||
|
android:title="@string/app_unittest"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_crashtest"
|
||||||
|
android:title="@string/app_crashtest"/>
|
||||||
|
</menu>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_appsettings"
|
||||||
|
android:title="@string/text_appsettings"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_about"
|
||||||
|
android:title="@string/app_about"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/app_smsrecycle"
|
||||||
|
android:title="@string/app_smsrecycle"/>
|
||||||
|
</menu>
|
||||||
Reference in New Issue
Block a user