first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.1.0" />
<option name="LAST_KNOWN_AGP_VERSION" value="3.1.0" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/rs/debug;file://$MODULE_DIR$/build/generated/res/resValues/debug" />
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="jdk" jdkName="Android API 26 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Gradle: junit:junit:4.12@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: net.sf.kxml:kxml2:2.3.0@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.squareup:javawriter:2.1.1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: javax.inject:javax.inject:1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-integration:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-library:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.google.code.findbugs:jsr305:2.0.1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-core:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test.espresso:espresso-core:3.0.2@aar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test:runner:1.0.2@aar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test:monitor:1.0.2@aar" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test.espresso:espresso-idling-resource:3.0.2@aar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:/Applications/DeskTop/授课内容/17届课程/myshop_app/shop_android/app/libs/tbs_sdk_thirdapp_v3.6.0.1310_43612_sharewithdownload_withoutGame_obfs_20180706_163319.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:27.1.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support.constraint:constraint-layout-solver:1.1.3@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:common:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support.constraint:constraint-layout:1.1.3@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-v4:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-media-compat:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-fragment:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-ui:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-compat:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime:1.0.0@aar" level="project" />
</component>
</module>

View File

@@ -0,0 +1,36 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.cp.bmy.cp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
ndk{
abiFilters "armeabi","armeabi-v7a","x86","mips"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:27.1.1'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

View File

@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# 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

View File

@@ -0,0 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]

View File

@@ -0,0 +1,26 @@
package com.caipu.bmy.cp;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.cp.bmy.cp", appContext.getPackageName());
}
}

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.caipu.bmy.cp">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- 硬件加速对X5视频播放非常重要建议开启 -->
<uses-permission android:name="android.permission.GET_TASKS" />
<application
android:name="com.caipu.bmy.cp.AppAplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:hardwareAccelerated="true"
android:theme="@style/AppTheme">
<activity
android:name="com.caipu.bmy.cp.MainActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:windowSoftInputMode="stateHidden|adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>

View File

@@ -0,0 +1,31 @@
package com.caipu.bmy.cp;
import android.app.Application;
import android.util.Log;
import com.tencent.smtt.sdk.QbSdk;
public class AppAplication extends Application {
@Override
public void onCreate() {
// TODO Auto-generated method stub
super.onCreate();
//搜集本地tbs内核信息并上报服务器服务器返回结果决定使用哪个内核。
QbSdk.PreInitCallback cb = new QbSdk.PreInitCallback() {
@Override
public void onViewInitFinished(boolean arg0) {
// TODO Auto-generated method stub
//x5內核初始化完成的回调为true表示x5内核加载成功否则表示x5内核加载失败会自动切换到系统内核。
Log.d("app", " onViewInitFinished is " + arg0);
}
@Override
public void onCoreInitFinished() {
// TODO Auto-generated method stub
}
};
//x5内核初始化接口
QbSdk.initX5Environment(getApplicationContext(), cb);
}
}

View File

@@ -0,0 +1,89 @@
package com.caipu.bmy.cp;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import com.tencent.smtt.export.external.interfaces.SslError;
import com.tencent.smtt.export.external.interfaces.SslErrorHandler;
import com.tencent.smtt.sdk.WebSettings;
import android.widget.Toast;
import com.caipu.bmy.cp.utils.X5WebView;
import com.tencent.smtt.sdk.WebView;
import com.tencent.smtt.sdk.WebViewClient;
public class MainActivity extends Activity {
private X5WebView webView;
private long mExitTime;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
webView = (X5WebView) findViewById(R.id.web_filechooser);
webView.loadUrl("file:///android_asset/index.html");
// App刚打开的时候阻塞不让显示图片优先加载页面布局之后页面加载完成后显示图片
// 进而提高App显示速度
webView.setWebViewClient(new WebViewClient(){
@Override
public void onPageFinished(WebView view, String url) {
super.onPageFinished(view, url);
webView.getSettings().setBlockNetworkImage(false);
}
//加载https时候接受所有证书
@Override
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
handler.proceed();
}
});
}
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// 当用户在首页按下返回键提示用户再次按下退出app其他页面按下返回键
// 直接进行返回上一页
String Urls = webView.getUrl().toString();
Log.d("这是测试的信息-----", Urls);
if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {
if(Urls.indexOf("index.html") > -1) {
exit();
} else {
webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
webView.goBack();
}
return true;
}
return super.onKeyDown(keyCode, event);
}
public void exit() {
String Urls = webView.getUrl().toString();
//if(Urls.indexOf("#/index") > -1) {
if ((System.currentTimeMillis() - mExitTime) > 2000) {
Toast.makeText(MainActivity.this, "再按一次退出", Toast.LENGTH_SHORT).show();
mExitTime = System.currentTimeMillis();
} else {
finish();
System.exit(0);
}
// } else {
// webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
// webView.goBack();
// }
}
/**
* 确保注销配置能够被释放
*/
@Override
protected void onDestroy() {
// TODO Auto-generated method stub
if (this.webView != null) {
webView.destroy();
}
super.onDestroy();
}
}

View File

@@ -0,0 +1,60 @@
package com.caipu.bmy.cp.utils;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;
import com.tencent.smtt.sdk.WebSettings;
import com.tencent.smtt.sdk.WebSettings.LayoutAlgorithm;
import com.tencent.smtt.sdk.WebView;
import com.tencent.smtt.sdk.WebViewClient;
public class X5WebView extends WebView {
TextView title;
private WebViewClient client = new WebViewClient() {
/**
* 防止加载网页时调起系统浏览器
*/
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
};
@SuppressLint("SetJavaScriptEnabled")
public X5WebView(Context arg0, AttributeSet arg1) {
super(arg0, arg1);
this.setWebViewClient(client);
// this.setWebChromeClient(chromeClient);
// WebStorage webStorage = WebStorage.getInstance();
initWebViewSettings();
this.getView().setClickable(true);
}
private void initWebViewSettings() {
WebSettings webSetting = this.getSettings();
webSetting.setJavaScriptEnabled(true);
webSetting.setJavaScriptCanOpenWindowsAutomatically(true);
webSetting.setAllowFileAccess(true);
webSetting.setLayoutAlgorithm(LayoutAlgorithm.NARROW_COLUMNS);
webSetting.setSupportZoom(false);
webSetting.setBuiltInZoomControls(false);
webSetting.setUseWideViewPort(true);
webSetting.setSupportMultipleWindows(true);
webSetting.setLoadWithOverviewMode(true);
webSetting.setAppCacheEnabled(true);
webSetting.setDomStorageEnabled(true);
webSetting.setGeolocationEnabled(true);
webSetting.setAppCacheMaxSize(Long.MAX_VALUE);
webSetting.setPluginState(WebSettings.PluginState.ON_DEMAND);
webSetting.setRenderPriority(WebSettings.RenderPriority.HIGH);
webSetting.setCacheMode(WebSettings.LOAD_DEFAULT);
webSetting.setBlockNetworkImage(true);
}
public X5WebView(Context arg0) {
super(arg0);
setBackgroundColor(85621);
}
}

View File

@@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0"/>
<item
android:color="#00000000"
android:offset="1.0"/>
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1"/>
</vector>

View File

@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1366dp"
android:height="1024dp"
android:viewportWidth="1366"
android:viewportHeight="1024">
<path
android:fillColor="#CF8F33"
android:pathData="M253.61,722.896 C234.942,757.446,260.525,813.924,293.921,845.31
C366.961,913.989,462.813,848.978,677.057,849.834
C893.814,850.704,989.884,918.038,1062.91,849.834
C1097.8,817.227,1122.53,758.329,1102.83,722.857
C1068.86,661.719,930.895,721.049,677.97,721.214
C425.698,721.391,286.235,662.549,253.612,722.899 Z" />
<path
android:fillColor="#000000"
android:pathData="M978.321,907.508 C948.757,907.508,916.001,902.264,878.788,896.312
C825.992,887.861,760.275,877.292,676.949,877.019
C595.432,876.693,530.664,886.257,478.588,893.947
C392.029,906.745,329.436,915.997,275.308,865.104
C233.122,825.432,204.523,756.563,229.712,709.974
C248.163,675.845,284.574,670.14,310.361,668.821
C341.611,667.219,381.214,671.714,431.28,677.408
C496.726,684.854,578.176,694.079,677.927,694.051
S858.789,684.622,924.017,677.109
C974.218,671.321,1013.86,666.742,1045.32,668.373
C1071.13,669.731,1107.56,675.438,1126.58,709.661
C1139.5,732.921,1140.36,763.707,1129.01,796.355
C1115.1,834.921,1090.15,866.692,1058,888.733
C1050.76,898.375,1017.33,907.491,978.321,907.505 Z M672.777,822.661
L677.138,822.661 C764.661,823.014,832.689,833.897,887.332,842.633
C972.261,856.219,1011.2,860.921,1044.34,829.97
C1073.24,803.015,1090.44,756.495,1079.01,736.033
C1077.04,732.487,1072.42,724.173,1042.45,722.61
C1015.54,721.252,977.874,725.557,930.198,731.061
C863.624,738.737,780.748,748.302,677.926,748.37 L676.853,748.37
C574.507,748.37,491.712,738.955,425.139,731.387
C348.702,722.718,288.284,715.857,277.523,735.817
C267.061,755.164,284.085,798.763,312.534,825.487
C346.08,857.036,385.276,852.782,470.706,840.147
C523.611,832.362,589.246,822.661,672.777,822.661 Z" />
<path
android:fillColor="#9A2700"
android:pathData="M257.946,580.483 C178.752,626.433,139.228,734.212,163.684,759.008
C185.98,781.602,248.382,719.037,371.759,690.343
C495.395,661.581,503.682,707.911,701.241,705.574
C913.256,703.075,944.234,649.232,1070.21,688.033
C1113.43,701.347,1163.67,724.295,1186.37,702.299
C1207.77,681.566,1200.92,624.721,1176.18,590.211
C1095.38,477.445,863.897,659.189,505.012,586.258
C413.507,567.686,333.593,536.601,257.944,580.484 Z" />
<path
android:fillColor="#731D00"
android:pathData="M207.199,695.275 C227.321,716.646,292.725,659.95,401.171,631.664
C508.707,603.594,524.807,638.321,696.539,636.487
C915.279,634.163,957.791,577.088,1086.47,618.825
C1132.45,633.77,1170.95,655.278,1198.79,670.97
C1201.06,645.523,1192.53,612.97,1176.18,590.173
C1175.47,589.195,1174.82,588.243,1174.03,587.306
Q1169.06,583.231,1163.91,579.439 C1138.04,559.991,1106.94,546.017,1073.12,539.86
C1016.2,530.148,805.234,647.221,504.975,586.232
C494.568,584.154,484.229,581.858,473.972,579.439
C395.266,561.463,324.93,541.56,257.949,580.404
C213.304,613.636,190.371,677.452,207.205,695.277 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M379.963,493.885 C376.146,514.985,417.325,522.512,472.35,593.065
C542.619,683.156,547.293,762.894,574.249,761.536
C609.152,759.729,619.586,625.129,657.127,624.313
C680.36,623.811,687.628,675.126,712.831,675.942
C748.223,677.083,751.837,576.409,825.597,518.339
C888.094,469.129,960.183,482.606,960.102,474.863
C959.871,453.139,393.958,416.441,379.964,493.883 Z" />
<path
android:fillColor="#E4EEFB"
android:pathData="M768.874,590.09 C761.026,571.297,749.874,555.327,736.006,542.192
C756.025,598.757,747.008,626.232,732.545,650.034
C722.252,668.725,702.348,689.907,678.404,705.364
C735.681,676.389,745.313,635.073,768.873,590.089 Z M601.422,701.077
C591.137,725.533,588.407,742.95,575.989,746.849
C568.435,749.227,560.038,745.721,552.457,740.49
C559.359,754.198,565.676,761.984,574.195,761.549
C600.186,760.191,612.603,685.248,632.752,646.703
C608.775,678.327,591.734,716.517,584.625,758.095 Z" />
<path
android:fillColor="#6BE166"
android:pathData="M238.761,569.847 C177.962,621.557,153.058,706.037,171.44,722.693
C193.178,742.352,264.452,657.601,395.615,618.077
C501.997,586.027,511.208,620.984,684.243,614.802
C914.368,606.65,982.192,527.578,1119.01,581.393
C1157.42,596.502,1201,622.057,1210.04,610.726
C1219.48,598.838,1187.39,543.977,1139.39,514.153
C1063.75,467.118,989.94,507.985,808.018,520.742
C791.714,521.883,807.705,520.47,631.843,522.1
C338.662,524.79,287.034,528.784,238.762,569.842 Z" />
<path
android:fillColor="#5BBF57"
android:pathData="M556.872,522.891 C409.623,524.793,338.132,528.326,294.098,540.553
C294.514,553.018,298.715,564.426,305.576,573.753
C335.603,615.578,419.582,578.065,570.933,567.129
C706.471,557.374,717.734,581.817,880.988,575.05
C893.732,574.52,913.976,573.527,940.198,574.004
C1001.42,560.512,1051.96,554.984,1119.09,581.34
C1157.5,596.449,1201.08,622.004,1210.12,610.673
C1219.56,598.785,1187.47,543.924,1139.47,514.1
C1063.83,467.065,990.02,507.932,808.098,520.689
C714.27,533.297,629.41,530.132,556.872,522.89 Z" />
<path
android:fillColor="#F2A83C"
android:pathData="M289.641,541.6 C315.454,575.471,377.124,543.136,549.67,530.54
C692.178,520.133,831.002,528.964,871.897,531.898
C1027.38,543.148,1076.96,564.111,1105.49,531.218
C1143.53,487.402,1113.71,382.786,1061.35,317.165
C924.589,145.977,557.54,145.311,382.032,317.383
C311.383,386.674,256.887,498.531,289.645,541.599 Z" />
<path
android:fillColor="#CF8F33"
android:pathData="M286.924,536.166 C287.997,543.476,377.232,537.524,546.953,525.106
C689.46,514.699,828.286,523.531,869.18,526.464
C1038.58,538.692,1079.62,554.723,1102.77,525.784
C1160.87,453.219,997.49,219.751,971.39,230.783
C953.836,238.186,1021.48,346.349,973.686,415.082
C928.267,480.405,824.848,443.614,600.06,466.711
C428.111,484.387,285.563,526.804,286.922,536.165 Z" />
<path
android:fillColor="#000000"
android:pathData="M401.784,246.925 C401.777,246.925,401.768,246.925,401.761,246.925
C386.753,246.925,374.588,234.759,374.588,219.752
C374.588,210.241,379.474,201.872,386.872,197.017 L388.334,196.097
C392.487,193.39,397.569,191.782,403.027,191.782
C418.035,191.782,430.201,203.949,430.201,218.956
C430.201,228.505,425.275,236.905,417.825,241.751 L416.566,242.562
C412.409,245.297,407.314,246.923,401.837,246.923
C401.817,246.923,401.8,246.923,401.781,246.923 Z" />
<path
android:fillColor="#000000"
android:pathData="M1054.97,570.525 C1036.16,570.525,1013.2,567.931,983.171,564.533
C948.173,560.58,904.628,555.647,847.09,552.305
C698.102,543.663,555.934,551.653,509.21,554.276
C456.128,557.251,414.622,561.069,381.267,564.235
C340.304,568.053,313.24,570.581,291.474,569.099
C272.752,567.835,248.963,563.447,230.919,540.567
C206.206,509.237,204.846,458.479,227.143,397.733
C246.163,345.834,279.654,292.819,319.122,252.36
C324.064,247.29,330.96,244.144,338.591,244.144
C353.6,244.144,365.767,256.312,365.767,271.32
C365.767,278.697,362.827,285.389,358.054,290.285
C283.347,366.81,248.608,475.243,273.593,506.954
C282.519,518.271,306.933,516.613,376.211,510.147
C410.013,506.995,452.063,503.069,506.151,500.039
C553.704,497.321,698.154,489.251,850.226,498.068
C909.245,501.492,953.619,506.505,989.269,510.541
C1048.48,517.239,1072.85,519.521,1081.66,508.666
C1093.89,493.571,1092.53,458.723,1077.98,417.731
C1062.02,372.747,1032.24,324.95,998.309,289.87
C884.184,171.858,657.562,136.019,482.352,208.257
C479.29,209.555,475.73,210.307,471.993,210.307
C456.979,210.307,444.807,198.135,444.807,183.121
C444.807,171.843,451.673,162.17,461.454,158.053
C554.156,119.863,662.861,107.459,767.747,123.057
C876.86,139.293,972.616,185.106,1037.38,252.128
C1077.03,293.118,1110.49,346.879,1129.2,399.594
C1150.94,461.004,1149.09,511.925,1123.85,542.985
C1105.56,565.47,1081.41,569.343,1064.82,570.293 Q1060.09,570.538,1054.98,570.525
Z" />
<path
android:fillColor="#000000"
android:pathData="Z" />
<path
android:fillColor="#000000"
android:pathData="M739.478,376.618 C739.479,376.62,739.48,376.623,739.481,376.625
C746.366,392.907,762.306,401.727,775.083,396.324
C787.862,390.92,792.64,373.34,785.755,357.058
C785.754,357.055,785.753,357.053,785.752,357.051
C785.751,357.049,785.75,357.046,785.749,357.044
C778.864,340.762,762.924,331.942,750.146,337.345
C737.367,342.749,732.589,360.328,739.473,376.611
C739.474,376.614,739.475,376.616,739.476,376.618 Z" />
<path
android:fillColor="#000000"
android:pathData="M566.506,351.686 C566.507,351.687,566.507,351.688,566.508,351.689
C572.695,362.405,589.811,364.104,604.737,355.488
C619.664,346.87,626.749,331.197,620.563,320.481
C620.562,320.48,620.562,320.479,620.561,320.478
C620.561,320.477,620.56,320.476,620.559,320.475
C614.372,309.759,597.257,308.06,582.331,316.676
C567.404,325.294,560.319,340.967,566.505,351.683
S566.506,351.685,566.507,351.686 Z" />
<path
android:fillColor="#000000"
android:pathData="M835.993,353.969 C835.994,353.97,835.995,353.972,835.995,353.973
C840.624,361.992,853.228,363.383,864.144,357.08
C875.062,350.777,880.157,339.167,875.527,331.148
C875.526,331.147,875.525,331.145,875.525,331.144
C875.524,331.143,875.524,331.142,875.523,331.14
C870.894,323.121,858.29,321.73,847.374,328.033
C836.456,334.336,831.361,345.946,835.991,353.965
C835.992,353.966,835.993,353.968,835.993,353.969 Z" />
</vector>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity">
<com.caipu.bmy.cp.utils.X5WebView
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:id="@+id/web_filechooser">
</com.caipu.bmy.cp.utils.X5WebView>
</RelativeLayout>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
</adaptive-icon>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

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

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">电商App-内测版</string>
</resources>

View File

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

View File

@@ -0,0 +1,17 @@
package com.caipu.bmy.cp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}