Skip to content

Commit

Permalink
Merge pull request #22 from skyway/exmaple_v1_1_0
Browse files Browse the repository at this point in the history
Fixed exmaples for v1.1.0
  • Loading branch information
rokihiro committed Mar 18, 2019
2 parents f3cfdea + ee15fa6 commit 696deff
Show file tree
Hide file tree
Showing 91 changed files with 225 additions and 3,229 deletions.
22 changes: 22 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Gradle
*/.gradle
*/build

# Local configuration file
local.properties

# Android Studio
*.iml
*/.idea/workspace.xml
*/.idea/tasks.xml
*/.idea/gradle.xml
*/.idea/assetWizardSettings.xml
*/.idea/dictionaries
*/.idea/libraries
*/.idea/caches
*/.idea/caches/build_file_checksums.ser
*/.idea/modules.xml
*/.idea/codeStyles
*/.idea/inspectionProfiles
*/app/libs/*
*/app/build
9 changes: 0 additions & 9 deletions examples/mesh-textchat/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions examples/mesh-textchat/.idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions examples/mesh-textchat/.idea/copyright/profiles_settings.xml

This file was deleted.

28 changes: 10 additions & 18 deletions examples/mesh-textchat/.idea/misc.xml

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

1 change: 0 additions & 1 deletion examples/mesh-textchat/app/.gitignore

This file was deleted.

22 changes: 13 additions & 9 deletions examples/mesh-textchat/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.ntt.ecl.webrtc.sample_mesh_textchat"
minSdkVersion 17
targetSdkVersion 25
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -16,17 +16,21 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
}

dependencies {
compile (name:'skyway',ext:'aar')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation (name:'skyway',ext:'aar')
androidTestImplementation('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.1.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}

repositories{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void onCallback(Object object) {
@Override
public void onCallback(Object object) {
PeerError error = (PeerError) object;
Log.d(TAG, "[On/Error]" + error);
Log.d(TAG, "[On/Error]" + error.message);
}
});

Expand Down
4 changes: 3 additions & 1 deletion examples/mesh-textchat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Mon Mar 11 16:34:36 JST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
9 changes: 0 additions & 9 deletions examples/mesh-videochat/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions examples/mesh-videochat/.idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions examples/mesh-videochat/.idea/copyright/profiles_settings.xml

This file was deleted.

28 changes: 10 additions & 18 deletions examples/mesh-videochat/.idea/misc.xml

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

1 change: 0 additions & 1 deletion examples/mesh-videochat/app/.gitignore

This file was deleted.

22 changes: 13 additions & 9 deletions examples/mesh-videochat/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.ntt.ecl.webrtc.sample_mesh_videochat"
minSdkVersion 17
targetSdkVersion 25
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -16,17 +16,21 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
}

dependencies {
compile (name:'skyway',ext:'aar')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation (name:'skyway',ext:'aar')
androidTestImplementation('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.1.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}

repositories{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void onCallback(Object object) {
@Override
public void onCallback(Object object) {
PeerError error = (PeerError) object;
Log.d(TAG, "[On/Error]" + error);
Log.d(TAG, "[On/Error]" + error.message);
}
});

Expand Down
4 changes: 3 additions & 1 deletion examples/mesh-videochat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Jun 27 09:57:52 JST 2017
#Mon Mar 11 16:32:03 JST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
9 changes: 0 additions & 9 deletions examples/p2p-call/.gitignore

This file was deleted.

Loading

0 comments on commit 696deff

Please sign in to comment.