Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zouguo-eng committed Dec 23, 2019
0 parents commit b048f95
Show file tree
Hide file tree
Showing 924 changed files with 28,531 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
45 changes: 45 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.wgjrouter"
minSdkVersion 19
targetSdkVersion 28
versionCode 15
versionName "1.2.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-vector-drawable:28.0.0'
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'
implementation 'com.android.support:support-v4:28.0.0'
implementation files('libs\\jcifs-1.3.19.jar')
implementation 'com.github.open-android:Gson:2.8'
implementation("com.squareup.okhttp3:okhttp:4.2.1")
implementation 'com.squareup.picasso:picasso:2.71828'
implementation project(':vitamio')
implementation files('libs\\commons-net-3.6.jar')
implementation 'org.greenrobot:eventbus:3.1.1'
implementation files('libs\\pgyer_sdk_3.0.7.jar')
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
implementation 'org.litepal.android:java:3.0.0'
implementation files('libs\\jsoup-1.12.1.jar')
implementation 'com.ddz.materialdesign:FloatingActionButton:1.0.4'
}
Binary file added app/libs/commons-net-3.6.jar
Binary file not shown.
Binary file added app/libs/jcifs-1.3.19.jar
Binary file not shown.
Binary file added app/libs/jsoup-1.12.1.jar
Binary file not shown.
Binary file added app/libs/pgyer_sdk_3.0.7.jar
Binary file not shown.
21 changes: 21 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.example.wgjrouter;

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.example.wgjrouter", appContext.getPackageName());
}
}
128 changes: 128 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.wgjrouter">

<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.VIBRATE"/>

<!--蒲公英,Android8.0所需-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

<application
android:name="org.litepal.LitePalApplication"
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"
android:usesCleartextTraffic="true">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="orientation|screenSize|keyboardHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.example.samba.single.Single"/>
<activity android:name=".VideoPlayVTM"
android:configChanges="orientation|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
android:launchMode="singleTop"
android:theme="@style/AppThemeVideo"
android:screenOrientation="landscape"/>
<activity android:name=".SettingHollRouterActivity"
android:screenOrientation="portrait"/>
<activity android:name=".SettingSuperRouterActivity"
android:screenOrientation="portrait"/>
<activity android:name=".AboutApp"
android:screenOrientation="portrait"/>
<activity android:name=".WebShow"
android:screenOrientation="portrait"/>
<activity android:name=".RouterSetWiFiPwd"
android:screenOrientation="portrait"/>
<activity android:name=".RouterSetRepeater"
android:screenOrientation="portrait"/>
<activity android:name=".RouterSetWan"
android:screenOrientation="portrait"/>
<activity android:name=".RouterDevices"
android:screenOrientation="portrait"/>
<activity android:name=".RouterStatus"
android:screenOrientation="portrait"/>
<activity android:name=".SettingAppActivity"
android:screenOrientation="portrait"/>
<activity android:name=".FunnyLiveActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupGridViewActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupListViewActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupImageActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupFilesActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupAudioActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupWechatActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupAppActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupMsgActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupPhoneActivity"
android:screenOrientation="portrait"/>
<activity android:name=".BackupContactActivity"
android:screenOrientation="portrait"/>
<activity android:name=".FunnyLiveRecorderActivity"
android:screenOrientation="portrait"/>
<activity android:name=".FunnyLiveCollectActivity"
android:screenOrientation="portrait"/>
<activity android:name=".FileTransFinish"
android:screenOrientation="portrait"/>
<activity android:name=".RemoteFileActivity"
android:screenOrientation="portrait"/>

<!--多线程下载服务-->
<service android:name="com.example.samba.MultiDownloadService"/>
<service android:name="com.example.samba.MultiRemoteDownloadService"/>

<!--Vitamio播放器-->
<activity
android:name="io.vov.vitamio.activity.InitActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
android:launchMode="singleTop"
android:theme="@android:style/Theme.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden"/>

<!--蒲公英-->
<provider
android:authorities="${applicationId}.com.pgyer.provider"
android:name="com.pgyersdk.PgyerProvider"
android:exported="false"/>
<meta-data
android:name="PGYER_APPID"
android:value="df556684a9a5f852d68088fe3704f522" >
</meta-data>

<!--APP调用系统-->
<provider
android:authorities="com.example.wgjrouter.FileProvider"
android:name="android.support.v4.content.FileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
</application>

</manifest>
12 changes: 12 additions & 0 deletions app/src/main/assets/litepal.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<litepal>
<dbname value="FileTransDB"/>
<version value="10"/>

<list>
<mapping class="com.example.database.FileTrans"/>
<mapping class="com.example.database.LiveVideoList"/>
<mapping class="com.example.bean.TaskInfo"/>
<mapping class="com.example.bean.ThreadInfo"/>
</list>
</litepal>
Loading

0 comments on commit b048f95

Please sign in to comment.