├── settings.gradle ├── img └── buildPlugin.gif ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── uexDemo ├── uexDemo │ ├── jar │ │ └── plugin_uexDemo.jar │ ├── dex │ │ └── plugin_uexDemo_dex.jar │ ├── info.xml │ ├── plugin.xml │ ├── res │ │ ├── layout │ │ │ └── plugin_uex_demo_test_view.xml │ │ └── values │ │ │ └── colors.xml │ └── AndroidManifest.xml ├── libs │ └── engine-4.0.0-systemRelease.aar ├── assets │ └── widget │ │ ├── .idea │ │ ├── modules.xml │ │ └── workspace.xml │ │ ├── config.xml │ │ ├── css │ │ └── index.css │ │ └── index.html ├── src │ └── com │ │ └── test │ │ ├── VibratorDataVO.java │ │ ├── DialogDataVO.java │ │ ├── ViewDataVO.java │ │ ├── DialogUtil.java │ │ ├── DemoView.java │ │ ├── DemoFragment.java │ │ ├── HelloAppCanNativeActivity.java │ │ └── EUExDemo.java ├── res │ ├── xml │ │ └── plugin.xml │ ├── layout │ │ └── plugin_uex_demo_test_view.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values │ │ ├── ids.xml │ │ ├── styles.xml │ │ ├── attrs.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── colors.xml │ └── values-en │ │ └── strings.xml ├── .gitignore ├── project.properties ├── AndroidManifest.xml ├── build.gradle └── LICENSE ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── README.md └── gradlew /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':uexDemo' 2 | -------------------------------------------------------------------------------- /img/buildPlugin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppCanOpenSource/appcan-plugin-demo-android/HEAD/img/buildPlugin.gif -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppCanOpenSource/appcan-plugin-demo-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /uexDemo/uexDemo/jar/plugin_uexDemo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppCanOpenSource/appcan-plugin-demo-android/HEAD/uexDemo/uexDemo/jar/plugin_uexDemo.jar -------------------------------------------------------------------------------- /uexDemo/uexDemo/dex/plugin_uexDemo_dex.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppCanOpenSource/appcan-plugin-demo-android/HEAD/uexDemo/uexDemo/dex/plugin_uexDemo_dex.jar -------------------------------------------------------------------------------- /uexDemo/libs/engine-4.0.0-systemRelease.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppCanOpenSource/appcan-plugin-demo-android/HEAD/uexDemo/libs/engine-4.0.0-systemRelease.aar -------------------------------------------------------------------------------- /uexDemo/uexDemo/info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 0:2019测试插件Demo 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Nov 04 14:21:00 CST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /uexDemo/assets/widget/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /uexDemo/src/com/test/VibratorDataVO.java: -------------------------------------------------------------------------------- 1 | package com.test; 2 | 3 | import java.io.Serializable; 4 | 5 | public class VibratorDataVO implements Serializable{ 6 | private static final long serialVersionUID = -4932933993422727397L; 7 | private double time; 8 | 9 | public double getTime() { 10 | return time; 11 | } 12 | 13 | public void setTime(int time) { 14 | this.time = time; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /uexDemo/src/com/test/DialogDataVO.java: -------------------------------------------------------------------------------- 1 | package com.test; 2 | 3 | import java.io.Serializable; 4 | 5 | public class DialogDataVO implements Serializable{ 6 | private static final long serialVersionUID = 357428537916628604L; 7 | private String defaultValue; 8 | 9 | public String getDefaultValue() { 10 | return defaultValue; 11 | } 12 | 13 | public void setDefaultValue(String defaultValue) { 14 | this.defaultValue = defaultValue; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /uexDemo/res/xml/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /uexDemo/uexDemo/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /uexDemo/.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | 28 | # Android Studio Navigation editor temp files 29 | .navigation/ 30 | 31 | # Android Studio captures folder 32 | captures/ 33 | -------------------------------------------------------------------------------- /uexDemo/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /uexDemo/assets/widget/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 测试uexDemo 4 | 测试插件Demo 5 | 3g2win 6 | 7 | 8 | 9 | 192.168.1.28 10 | false 11 | http://192.168.1.28:8080/widget/update 12 | true 13 | #fefefe 14 | 15 | 15 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | 23 | # Proguard folder generated by Eclipse 24 | proguard/ 25 | 26 | # Log Files 27 | *.log 28 | 29 | # Android Studio Navigation editor temp files 30 | .navigation/ 31 | 32 | # Android Studio captures folder 33 | captures/ 34 | 35 | # Android Studio Configs 36 | .idea/ 37 | *.iml 38 | 39 | ### AndroidStudio Patch ### 40 | 41 | !/gradle/wrapper/gradle-wrapper.jar 42 | 43 | # Legacy Eclipse project files 44 | .classpath 45 | .project 46 | .cproject 47 | .settings/ 48 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | ## Project-wide Gradle settings. 2 | # 3 | # For more details on how to configure your build environment visit 4 | # http://www.gradle.org/docs/current/userguide/build_environment.html 5 | # 6 | # Specifies the JVM arguments used for the daemon process. 7 | # The setting is particularly useful for tweaking memory settings. 8 | # Default value: -Xmx1024m -XX:MaxPermSize=256m 9 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 10 | # 11 | # When configured, Gradle will run in incubating parallel mode. 12 | # This option should only be used with decoupled projects. More details, visit 13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 14 | # org.gradle.parallel=true 15 | #Fri Jun 24 17:31:31 CST 2016 -------------------------------------------------------------------------------- /uexDemo/res/layout/plugin_uex_demo_test_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 |