Skip to content

Commit

Permalink
Merge pull request #33 from ksvc/updateVer_1.0.2
Browse files Browse the repository at this point in the history
update ver to 1.0.2
  • Loading branch information
chriszeng87 authored Jul 17, 2017
2 parents 1b3a853 + 036f70d commit 7360d03
Show file tree
Hide file tree
Showing 118 changed files with 4,901 additions and 3,623 deletions.
15 changes: 13 additions & 2 deletions demo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.ksyun.media.shortvideo.demo"
minSdkVersion 15
targetSdkVersion 24
versionCode 82
versionName "0.8.2"
versionCode 102
versionName "1.0.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
sourceSets {
Expand All @@ -24,6 +24,12 @@ android {
}
}

repositories {
flatDir {
dirs 'libs'
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:24.2.1'
Expand All @@ -33,4 +39,9 @@ dependencies {
compile 'com.ksyun.ks3:ks3androidsdk:1.4.1'
compile 'com.tencent.bugly:crashreport:latest.release'
compile 'com.tencent.bugly:nativecrashreport:latest.release'
compile (name:'sensearsdk-release', ext: 'aar')
compile 'com.ksyun.media:libksylive-java:2.4.0'
compile 'com.ksyun.media:libksylive-arm64:2.4.0'
compile 'com.ksyun.media:libksylive-armv7a:2.4.0'
compile 'com.ksyun.media:libksylive-x86:2.4.0'
}
Binary file removed demo/app/libs/arm64-v8a/libksylive.so
Binary file not shown.
Binary file removed demo/app/libs/arm64-v8a/libnama.so
Binary file not shown.
Binary file removed demo/app/libs/armeabi-v7a/libksylive.so
Binary file not shown.
Binary file removed demo/app/libs/armeabi-v7a/libnama.so
Binary file not shown.
Binary file removed demo/app/libs/armeabi/libksylive.so
Binary file not shown.
Binary file removed demo/app/libs/ksylive.jar
Binary file not shown.
Binary file added demo/app/libs/libkmcfilter.jar
Binary file not shown.
Binary file removed demo/app/libs/libksyplayer.jar
Binary file not shown.
Binary file removed demo/app/libs/libksystat.jar
Binary file not shown.
Binary file modified demo/app/libs/libksysv.jar
Binary file not shown.
Binary file removed demo/app/libs/nama.jar
Binary file not shown.
Binary file added demo/app/libs/sensearsdk-release.aar
Binary file not shown.
Binary file removed demo/app/libs/x86/libksylive.so
Binary file not shown.
Binary file removed demo/app/libs/x86/libnama.so
Binary file not shown.
41 changes: 41 additions & 0 deletions demo/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,51 @@
# public *;
#}

-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-allowaccessmodification
-verbose
-optimizations !code/simplification/arithmetic,!field/*,field/propagation/value,!class/merging/*,!code/allocation/variable

-ignorewarnings
-keepattributes EnclosingMethod
-keepattributes InnerClasses
-dontoptimize

-keep class com.ksyun.** {
*;
}

-keep class com.ksy.statlibrary.** {
*;
}

-keep class com.ksyun.media.shortvideo.** {
*;
}

-keep class com.ksyun.media.kmcfilter.** {
*;
}

-keep class com.sensetime.sensear.** {
*;
}

-keep class com.sensetime.sensear.** {
*;
}

-keep class com.googlecode.mp4parser.** {
*;
}

-keep class com.mp4parser.** {
*;
}

-keep class com.coremedia.iso.** {
*;
}
65 changes: 29 additions & 36 deletions demo/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.ksyun.media.shortvideo.demo"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="preferExternal">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.ksyun.media.shortvideo.demo"
android:installLocation="preferExternal">

<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_SINTERNETWIFI_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_SINTERNETWIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.READ_LOGS" />

<uses-feature android:name="android.hardware.camera"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />

<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.VIBRATE" />

<application
android:name=".ExampleApplication"
Expand All @@ -38,41 +38,34 @@
android:smallScreens="true"
android:theme="@style/ThemeWithTitle"
tools:replace="android:allowBackup,android:theme">

<activity
android:name="com.ksyun.media.shortvideo.demo.ShortVideoActivity"
android:name=".ShortVideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/Theme.RiseAnimation">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name="com.ksyun.media.shortvideo.demo.RecordActivity"
android:name=".RecordActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTop"
android:theme="@style/Theme.RiseAnimation">
</activity>

android:theme="@style/Theme.RiseAnimation"></activity>
<activity
android:name="com.ksyun.media.shortvideo.demo.EditActivity"
android:name=".EditActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTop"
android:theme="@style/Theme.RiseAnimation">
</activity>

android:theme="@style/Theme.RiseAnimation"></activity>
<activity
android:name="com.ksyun.media.shortvideo.demo.FileImportActivity"
android:name=".FileImportActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTop"
android:theme="@style/Theme.RiseAnimation">
</activity>


android:theme="@style/Theme.RiseAnimation"></activity>
<activity android:name=".ConfigActivity"></activity>
</application>

</manifest>
Binary file not shown.
Binary file removed demo/app/src/main/assets/Faceunity/v3.mp3
Binary file not shown.
Loading

0 comments on commit 7360d03

Please sign in to comment.