瀏覽代碼

appme、appworks创建

FANGLH 8 年之前
父節點
當前提交
8c7d0ffab1
共有 35 個文件被更改,包括 184 次插入1 次删除
  1. 1 0
      app_modular/appme/.gitignore
  2. 35 0
      app_modular/appme/build.gradle
  3. 25 0
      app_modular/appme/proguard-rules.pro
  4. 9 0
      app_modular/appme/src/main/AndroidManifest.xml
  5. 二進制
      app_modular/appme/src/main/res/mipmap-hdpi/ic_launcher.png
  6. 二進制
      app_modular/appme/src/main/res/mipmap-hdpi/ic_launcher_round.png
  7. 二進制
      app_modular/appme/src/main/res/mipmap-mdpi/ic_launcher.png
  8. 二進制
      app_modular/appme/src/main/res/mipmap-mdpi/ic_launcher_round.png
  9. 二進制
      app_modular/appme/src/main/res/mipmap-xhdpi/ic_launcher.png
  10. 二進制
      app_modular/appme/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  11. 二進制
      app_modular/appme/src/main/res/mipmap-xxhdpi/ic_launcher.png
  12. 二進制
      app_modular/appme/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  13. 二進制
      app_modular/appme/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  14. 二進制
      app_modular/appme/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  15. 6 0
      app_modular/appme/src/main/res/values/colors.xml
  16. 3 0
      app_modular/appme/src/main/res/values/strings.xml
  17. 11 0
      app_modular/appme/src/main/res/values/styles.xml
  18. 1 0
      app_modular/appworks/.gitignore
  19. 35 0
      app_modular/appworks/build.gradle
  20. 25 0
      app_modular/appworks/proguard-rules.pro
  21. 9 0
      app_modular/appworks/src/main/AndroidManifest.xml
  22. 二進制
      app_modular/appworks/src/main/res/mipmap-hdpi/ic_launcher.png
  23. 二進制
      app_modular/appworks/src/main/res/mipmap-hdpi/ic_launcher_round.png
  24. 二進制
      app_modular/appworks/src/main/res/mipmap-mdpi/ic_launcher.png
  25. 二進制
      app_modular/appworks/src/main/res/mipmap-mdpi/ic_launcher_round.png
  26. 二進制
      app_modular/appworks/src/main/res/mipmap-xhdpi/ic_launcher.png
  27. 二進制
      app_modular/appworks/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  28. 二進制
      app_modular/appworks/src/main/res/mipmap-xxhdpi/ic_launcher.png
  29. 二進制
      app_modular/appworks/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  30. 二進制
      app_modular/appworks/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  31. 二進制
      app_modular/appworks/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  32. 6 0
      app_modular/appworks/src/main/res/values/colors.xml
  33. 3 0
      app_modular/appworks/src/main/res/values/strings.xml
  34. 11 0
      app_modular/appworks/src/main/res/values/styles.xml
  35. 4 1
      settings.gradle

+ 1 - 0
app_modular/appme/.gitignore

@@ -0,0 +1 @@
+/build

+ 35 - 0
app_modular/appme/build.gradle

@@ -0,0 +1,35 @@
+apply plugin: 'com.android.application'
+
+
+android {
+    compileSdkVersion 25
+    buildToolsVersion "25.0.3"
+
+
+    defaultConfig {
+        applicationId "com.uas.appme"
+        minSdkVersion 16
+        targetSdkVersion 25
+        versionCode 1
+        versionName "1.0"
+
+        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+
+    }
+    buildTypes {
+        release {
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+}
+
+dependencies {
+    compile fileTree(dir: 'libs', include: ['*.jar'])
+    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+        exclude group: 'com.android.support', module: 'support-annotations'
+    })
+
+    compile 'com.android.support:appcompat-v7:25.3.1'
+    testCompile 'junit:junit:4.12'
+}

+ 25 - 0
app_modular/appme/proguard-rules.pro

@@ -0,0 +1,25 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in E:\Android-Studio\sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile

+ 9 - 0
app_modular/appme/src/main/AndroidManifest.xml

@@ -0,0 +1,9 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.uas.appme">
+    <application
+        android:allowBackup="true"
+        android:icon="@mipmap/ic_launcher"
+        android:label="@string/app_name"
+        android:roundIcon="@mipmap/ic_launcher_round"
+        android:supportsRtl="true"
+        android:theme="@style/AppTheme" />
+</manifest>

二進制
app_modular/appme/src/main/res/mipmap-hdpi/ic_launcher.png


二進制
app_modular/appme/src/main/res/mipmap-hdpi/ic_launcher_round.png


二進制
app_modular/appme/src/main/res/mipmap-mdpi/ic_launcher.png


二進制
app_modular/appme/src/main/res/mipmap-mdpi/ic_launcher_round.png


二進制
app_modular/appme/src/main/res/mipmap-xhdpi/ic_launcher.png


二進制
app_modular/appme/src/main/res/mipmap-xhdpi/ic_launcher_round.png


二進制
app_modular/appme/src/main/res/mipmap-xxhdpi/ic_launcher.png


二進制
app_modular/appme/src/main/res/mipmap-xxhdpi/ic_launcher_round.png


二進制
app_modular/appme/src/main/res/mipmap-xxxhdpi/ic_launcher.png


二進制
app_modular/appme/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png


+ 6 - 0
app_modular/appme/src/main/res/values/colors.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <color name="colorPrimary">#3F51B5</color>
+    <color name="colorPrimaryDark">#303F9F</color>
+    <color name="colorAccent">#FF4081</color>
+</resources>

+ 3 - 0
app_modular/appme/src/main/res/values/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">appme</string>
+</resources>

+ 11 - 0
app_modular/appme/src/main/res/values/styles.xml

@@ -0,0 +1,11 @@
+<resources>
+
+    <!-- Base application theme. -->
+    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+        <!-- Customize your theme here. -->
+        <item name="colorPrimary">@color/colorPrimary</item>
+        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+        <item name="colorAccent">@color/colorAccent</item>
+    </style>
+
+</resources>

+ 1 - 0
app_modular/appworks/.gitignore

@@ -0,0 +1 @@
+/build

+ 35 - 0
app_modular/appworks/build.gradle

@@ -0,0 +1,35 @@
+apply plugin: 'com.android.application'
+
+
+android {
+    compileSdkVersion 25
+    buildToolsVersion "25.0.3"
+
+
+    defaultConfig {
+        applicationId "com.uas.appworks"
+        minSdkVersion 16
+        targetSdkVersion 25
+        versionCode 1
+        versionName "1.0"
+
+        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+
+    }
+    buildTypes {
+        release {
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+}
+
+dependencies {
+    compile fileTree(dir: 'libs', include: ['*.jar'])
+    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+        exclude group: 'com.android.support', module: 'support-annotations'
+    })
+
+    compile 'com.android.support:appcompat-v7:25.3.1'
+    testCompile 'junit:junit:4.12'
+}

+ 25 - 0
app_modular/appworks/proguard-rules.pro

@@ -0,0 +1,25 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in E:\Android-Studio\sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile

+ 9 - 0
app_modular/appworks/src/main/AndroidManifest.xml

@@ -0,0 +1,9 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.uas.appworks">
+    <application
+        android:allowBackup="true"
+        android:icon="@mipmap/ic_launcher"
+        android:label="@string/app_name"
+        android:roundIcon="@mipmap/ic_launcher_round"
+        android:supportsRtl="true"
+        android:theme="@style/AppTheme"/>
+</manifest>

二進制
app_modular/appworks/src/main/res/mipmap-hdpi/ic_launcher.png


二進制
app_modular/appworks/src/main/res/mipmap-hdpi/ic_launcher_round.png


二進制
app_modular/appworks/src/main/res/mipmap-mdpi/ic_launcher.png


二進制
app_modular/appworks/src/main/res/mipmap-mdpi/ic_launcher_round.png


二進制
app_modular/appworks/src/main/res/mipmap-xhdpi/ic_launcher.png


二進制
app_modular/appworks/src/main/res/mipmap-xhdpi/ic_launcher_round.png


二進制
app_modular/appworks/src/main/res/mipmap-xxhdpi/ic_launcher.png


二進制
app_modular/appworks/src/main/res/mipmap-xxhdpi/ic_launcher_round.png


二進制
app_modular/appworks/src/main/res/mipmap-xxxhdpi/ic_launcher.png


二進制
app_modular/appworks/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png


+ 6 - 0
app_modular/appworks/src/main/res/values/colors.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <color name="colorPrimary">#3F51B5</color>
+    <color name="colorPrimaryDark">#303F9F</color>
+    <color name="colorAccent">#FF4081</color>
+</resources>

+ 3 - 0
app_modular/appworks/src/main/res/values/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">appworks</string>
+</resources>

+ 11 - 0
app_modular/appworks/src/main/res/values/styles.xml

@@ -0,0 +1,11 @@
+<resources>
+
+    <!-- Base application theme. -->
+    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+        <!-- Customize your theme here. -->
+        <item name="colorPrimary">@color/colorPrimary</item>
+        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+        <item name="colorAccent">@color/colorAccent</item>
+    </style>
+
+</resources>

+ 4 - 1
settings.gradle

@@ -1,11 +1,12 @@
 //主工程
-include ':WeiChat', 'message'
+include ':WeiChat', ':appworks', ':appme', 'message'
 
 //核心模块
 include ':network'
 include ':imageload'
 include ':common'
 include ':message'
+include ':appworks'
 
 //第三库模块
 include ':lib-zxing'
@@ -25,6 +26,8 @@ project(':imageload').projectDir = new File('app_core/imageload')
 project(':common').projectDir = new File('app_core/common')
 project(':message').projectDir = new File('app_core/message')
 
+//业务模块
+project(':appworks').projectDir = new File('app_modular/appworks')
 
 //第三库模块
 project(':lib-zxing').projectDir = new File('app_third/lib-zxing')