From 2c92c137111035cf4b6e2e36010566baa450b6fc Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 06 十二月 2022 17:14:24 +0800 Subject: [PATCH] 应用启动分支 --- AndroidOpenDemo/.idea/workspace.xml | 13 +------------ AndroidOpenDemo/app/src/main/AndroidManifest.xml | 30 ++++++++++++++---------------- AndroidOpenDemo/app/build.gradle | 2 +- AndroidOpenDemo/.idea/modules/app/LCAndroidSDKDemo.app.iml | 1 - 4 files changed, 16 insertions(+), 30 deletions(-) diff --git a/AndroidOpenDemo/.idea/modules/app/LCAndroidSDKDemo.app.iml b/AndroidOpenDemo/.idea/modules/app/LCAndroidSDKDemo.app.iml index 19d9969..2b01d31 100644 --- a/AndroidOpenDemo/.idea/modules/app/LCAndroidSDKDemo.app.iml +++ b/AndroidOpenDemo/.idea/modules/app/LCAndroidSDKDemo.app.iml @@ -22,7 +22,6 @@ <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../../app/src/main/res;file://$MODULE_DIR$/../../../app/src/debug/res;file://$MODULE_DIR$/../../../app/build/generated/res/rs/debug;file://$MODULE_DIR$/../../../app/build/generated/res/resValues/debug" /> <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../../app/src/androidTest/res;file://$MODULE_DIR$/../../../app/src/androidTestDebug/res;file://$MODULE_DIR$/../../../app/build/generated/res/rs/androidTest/debug;file://$MODULE_DIR$/../../../app/build/generated/res/resValues/androidTest/debug" /> <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" /> - <option name="PROJECT_TYPE" value="1" /> </configuration> </facet> </component> diff --git a/AndroidOpenDemo/.idea/workspace.xml b/AndroidOpenDemo/.idea/workspace.xml index 0a9f565..76645ac 100644 --- a/AndroidOpenDemo/.idea/workspace.xml +++ b/AndroidOpenDemo/.idea/workspace.xml @@ -15,20 +15,9 @@ </component> <component name="ChangeListManager"> <list default="true" id="7bacc5cf-316f-4ad4-b191-7f5297eb7bcf" name="Default Changelist" comment=""> - <change beforePath="$PROJECT_DIR$/.idea/libraries/Gradle____DeviceAddModule_libs_DHMobileToolset_1_1_1_aar.xml" beforeDir="false" /> - <change beforePath="$PROJECT_DIR$/.idea/libraries/Gradle____DeviceAddModule_libs_DHScanner_1_0_7_aar.xml" beforeDir="false" /> - <change beforePath="$PROJECT_DIR$/.idea/libraries/Gradle____DeviceAddModule_libs_PullToRefreshListView_release_aar.xml" beforeDir="false" /> - <change beforePath="$PROJECT_DIR$/.idea/libraries/Gradle__org_greenrobot_eventbus_3_0_02.xml" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/DeviceAddModule/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/DeviceAddModule/build.gradle" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/openapi/HttpSend.java" beforeDir="false" afterPath="$PROJECT_DIR$/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/openapi/HttpSend.java" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/app/src/main/java/com/lechange/demo/ui/EnvGuideActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/lechange/demo/ui/EnvGuideActivity.java" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/app/src/main/java/com/utils/HdlToLcUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/utils/HdlToLcUtils.java" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/app/src/main/res/layout/fragment_device_detail_main.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/layout/fragment_device_detail_main.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/app/src/main/res/layout/fragment_device_detail_name.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/layout/fragment_device_detail_name.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/app/src/main/res/values/styles.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values/styles.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/third-zxing/src/main/res/values/colors_ui.xml" beforeDir="false" afterPath="$PROJECT_DIR$/third-zxing/src/main/res/values/colors_ui.xml" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> diff --git a/AndroidOpenDemo/app/build.gradle b/AndroidOpenDemo/app/build.gradle index 3d8be28..ddafcf2 100644 --- a/AndroidOpenDemo/app/build.gradle +++ b/AndroidOpenDemo/app/build.gradle @@ -83,7 +83,7 @@ //// implementation("com.android.support:support-v4:28.0.0") //} -apply plugin: 'com.android.library' +apply plugin: 'com.android.application' repositories { flatDir { dirs 'libs' diff --git a/AndroidOpenDemo/app/src/main/AndroidManifest.xml b/AndroidOpenDemo/app/src/main/AndroidManifest.xml index f840c36..932cf06 100644 --- a/AndroidOpenDemo/app/src/main/AndroidManifest.xml +++ b/AndroidOpenDemo/app/src/main/AndroidManifest.xml @@ -6,28 +6,26 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> - <application> -<!-- <application--> -<!-- android:name=".App"--> -<!-- android:debuggable="false"--> -<!-- android:allowBackup="false"--> -<!-- android:icon="@mipmap/sdk_launcher"--> -<!-- android:label="@string/app_name"--> -<!-- android:roundIcon="@mipmap/sdk_launcher"--> -<!-- android:supportsRtl="false"--> -<!-- android:theme="@style/AppTheme"--> -<!-- tools:replace="android:allowBackup,android:label,android:supportsRtl"--> -<!-- >--> + <application + android:name=".App" + android:debuggable="false" + android:allowBackup="false" + android:icon="@mipmap/sdk_launcher" + android:label="@string/app_name" + android:roundIcon="@mipmap/sdk_launcher" + android:supportsRtl="false" + android:theme="@style/AppTheme" + tools:replace="android:allowBackup,android:label,android:supportsRtl"> <activity android:name=".ui.EnvGuideActivity" android:configChanges="orientation|keyboardHidden|screenSize|locale" android:launchMode="singleTop" android:theme="@style/AppTheme" android:screenOrientation="portrait"> -<!-- <intent-filter>--> -<!-- <action android:name="android.intent.action.MAIN" />--> -<!-- <category android:name="android.intent.category.LAUNCHER" />--> -<!-- </intent-filter>--> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> </activity> <activity android:name=".ui.DeviceListActivity" -- Gitblit v1.8.0