编译调试
This commit is contained in:
		| @@ -24,7 +24,7 @@ android { | ||||
|     defaultConfig { | ||||
|         applicationId "cc.winboll.studio.mymessagemanager" | ||||
|         minSdkVersion 24 | ||||
|         targetSdkVersion 29 | ||||
|         targetSdkVersion 30 | ||||
|         versionCode 8 | ||||
|         // versionName 更新后需要手动设置  | ||||
|         // .winboll/winbollBuildProps.properties 文件的 stageCount=0 | ||||
| @@ -45,9 +45,9 @@ android { | ||||
|  | ||||
| dependencies { | ||||
|     api fileTree(dir: 'libs', include: ['*.jar']) | ||||
|     api 'cc.winboll.studio:libaes:15.6.0' | ||||
|     api 'cc.winboll.studio:libapputils:15.3.4' | ||||
|     api 'cc.winboll.studio:libappbase:15.7.6' | ||||
|     api 'cc.winboll.studio:libaes:15.8.0' | ||||
|     api 'cc.winboll.studio:libapputils:15.8.1' | ||||
|     api 'cc.winboll.studio:libappbase:15.8.1' | ||||
|      | ||||
| 	api 'io.github.medyo:android-about-page:2.0.0' | ||||
|     api 'com.github.getActivity:ToastUtils:10.5' | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Sat May 03 12:49:28 GMT 2025 | ||||
| #Tue May 20 12:29:54 GMT 2025 | ||||
| stageCount=5 | ||||
| libraryProject= | ||||
| baseVersion=15.2 | ||||
| publishVersion=15.2.4 | ||||
| buildCount=14 | ||||
| buildCount=16 | ||||
| baseBetaVersion=15.2.5 | ||||
|   | ||||
| @@ -1,52 +0,0 @@ | ||||
| package cc.winboll.studio.mymessagemanager; | ||||
|  | ||||
| /** | ||||
|  * @Author ZhanGSKen<zhangsken@188.com> | ||||
|  * @Date 2023/07/24 01:46:59 | ||||
|  * @Describe 全局应用类 | ||||
|  */ | ||||
| import android.view.Gravity; | ||||
| import cc.winboll.studio.mymessagemanager.R; | ||||
| import cc.winboll.studio.shared.app.WinBollApplication; | ||||
| import cc.winboll.studio.shared.log.LogUtils; | ||||
| import com.hjq.toast.ToastUtils; | ||||
| import java.io.File; | ||||
|  | ||||
| public class GlobalApplication extends WinBollApplication { | ||||
|  | ||||
|     public static final String TAG = "GlobalApplication"; | ||||
|  | ||||
|     static String _mszAppExternalFilesDir; | ||||
|     static String _mszConfigUtilFileName = "ConfigUtil.json"; | ||||
|     static String _mszConfigUtilPath; | ||||
|     static String _mszSMSReceiveRuleUtilFileName = "SMSReceiveRuleUtil.json"; | ||||
|     static String _mszSMSReceiveRuleUtilPath; | ||||
|  | ||||
|     public static final int USER_ID = -1; | ||||
|     Long mszVersionName = 1L; | ||||
|     Long mszDataVersionName = 1L; | ||||
|  | ||||
|  | ||||
|     @Override | ||||
|     public void onCreate() { | ||||
|         super.onCreate(); | ||||
|         //setIsDebug(cc.winboll.studio.mymessagemanager.BuildConfig.DEBUG); | ||||
|  | ||||
|         // 初始化 Toast 框架 | ||||
|         ToastUtils.init(this); | ||||
|         // 设置 Toast 布局样式 | ||||
|         ToastUtils.setView(R.layout.toast_custom_view); | ||||
|         //ToastUtils.setStyle(new WhiteToastStyle()); | ||||
|         ToastUtils.setGravity(Gravity.BOTTOM, 0, 200); | ||||
|  | ||||
|         //LogUtils.d(TAG, "BuildConfig.DEBUG " + Boolean.toString(BuildConfig.DEBUG)); | ||||
|  | ||||
|         _mszAppExternalFilesDir = getExternalFilesDir(TAG).toString(); | ||||
|         _mszConfigUtilPath = _mszAppExternalFilesDir + File.separator + _mszConfigUtilFileName; | ||||
|         _mszSMSReceiveRuleUtilPath = _mszAppExternalFilesDir + File.separator + _mszSMSReceiveRuleUtilFileName; | ||||
|     } | ||||
|  | ||||
|     public static void showApplicationMessage(String szMessage) { | ||||
|         LogUtils.i(TAG, szMessage); | ||||
|     } | ||||
| } | ||||
| @@ -306,7 +306,7 @@ public class MainActivity extends BaseActivity { | ||||
|             i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | ||||
|             startActivity(i); | ||||
| 		} else if (nItemId ==  R.id.app_log) { | ||||
|             App.getWinBoLLActivityManager().startLogActivity(this); | ||||
|             //App.getWinBoLLActivityManager().startLogActivity(this); | ||||
|         } else if (nItemId ==  R.id.app_unittest) { | ||||
|             Intent i = new Intent(MainActivity.this, UnitTestActivity.class); | ||||
|             i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | ||||
|   | ||||
| @@ -15,12 +15,12 @@ import android.graphics.BitmapFactory; | ||||
| import android.graphics.Color; | ||||
| import android.media.RingtoneManager; | ||||
| import android.widget.RemoteViews; | ||||
| import cc.winboll.studio.libappbase.LogUtils; | ||||
| import cc.winboll.studio.mymessagemanager.R; | ||||
| import cc.winboll.studio.mymessagemanager.activitys.MainActivity; | ||||
| import cc.winboll.studio.mymessagemanager.activitys.SMSActivity; | ||||
| import cc.winboll.studio.mymessagemanager.beans.MessageNotificationBean; | ||||
| import cc.winboll.studio.mymessagemanager.services.MainService; | ||||
| import cc.winboll.studio.shared.log.LogUtils; | ||||
|  | ||||
| public class NotificationUtil { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen