diff --git a/Android/.gitignore b/Android/.gitignore
deleted file mode 100644
index fe99a322..00000000
--- a/Android/.gitignore
+++ /dev/null
@@ -1,18 +0,0 @@
-# Generated files
-bin/
-gen/
-out/
-build/
-
-# OS specific files
-.DS_Store
-
-# IntelliJ / Android studio configuration files
-.idea/
-*.iml
-
-# Gradle generated files
-.gradle/
-
-# Local config (e.g. sdk path)
-local.properties
\ No newline at end of file
diff --git a/Android/README.md b/Android/README.md
deleted file mode 100644
index 93efe24e..00000000
--- a/Android/README.md
+++ /dev/null
@@ -1,56 +0,0 @@
-The client library
-==================
-
-The Text To Speech client library is a client library for Microsoft Cognitive Services (formerly Project Oxford)
-Text To Speech REST APIs.
-
-The sample
-----------
-
-This sample is an Android application to demonstrate the use of Microsoft Cognitive Services (formerly Project Oxford)
-Text To Speech API.
-
-Requirements
-------------
-
-* Android OS must be Android 4.1 or higher (API Level 16 or higher)
-* The speech client library contains native code. To use this sample in an emulator, make sure that your build variant matches the architecture (x86 or arm) of your emulator. However, due to the need of audio, using a physical device is recommended.
-
-Build the sample
-----------------
-
-1. First, you must obtain a Speech API subscription key by following instructions in [Microsoft Cognitive Services subscription](https://www.microsoft.com/cognitive-services/en-us/sign-up).
-
-1. Start Android Studio and open project by `File > Import Project`. Choose subfolder `Sample` in the `Android` folder.
-
-1. In Android Studio -\> `Project` panel -\> `Android` view, open file `app/res/values/strings.xml`, and find the line `Please_add_the_subscription_key_here;`. Replace the `Please_add_the_subscription_key_here` value with your subscription key string from the first step. If you cannot find the file `string.xml`, it is in folder `Sample\app\src\main\res\values\string.xml`.
-
-1. There are two more values to modify. The endpoint of authentication or synthesis must match the subscription key you use. Check them out respectively. Refer to HTTP samples if necessary.
- * `Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Authentication.java` for `AccessTokenUri = "https://api.cognitive.microsoft.com/sts/v1.0/issueToken";`
- * `Sample/speechsdk/src/main/java/com/microsoft/speech/tts/TtsServiceClient.java` for `m_serviceUri = "https://speech.platform.bing.com/synthesize";`
-
-1. In Android Studio, select menu `Build > Make Project` to build the sample, and `Run` to launch this sample app.
-
-Run the sample
---------------
-
-In Android Studio, select menu "Run", and "Run app" to launch this sample app.
-
-
-
-Contributing
-------------
-
-We welcome contributions and are always looking for new SDKs, input, and suggestions. Feel free to file issues on the repo and we'll address them as we can. You can also learn more about how you can help on the [Contribution Rules & Guidelines](/CONTRIBUTING.md).
-
-For questions, feedback, or suggestions about Microsoft Cognitive Services, feel free to reach out to us directly.
-
-* [Cognitive Services UserVoice Forum](https://cognitive.uservoice.com)
-
-License
--------
-
-All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see
-[LICENSE]().
-
-Sample images are licensed separately, please refer to [LICENSE-IMAGE](/LICENSE-IMAGE.md).
diff --git a/Android/Sample/.gitignore b/Android/Sample/.gitignore
deleted file mode 100644
index afbdab33..00000000
--- a/Android/Sample/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.gradle
-/local.properties
-/.idea/workspace.xml
-/.idea/libraries
-.DS_Store
-/build
diff --git a/Android/Sample/app/.gitignore b/Android/Sample/app/.gitignore
deleted file mode 100644
index 796b96d1..00000000
--- a/Android/Sample/app/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
diff --git a/Android/Sample/app/build.gradle b/Android/Sample/app/build.gradle
deleted file mode 100644
index 15f53d82..00000000
--- a/Android/Sample/app/build.gradle
+++ /dev/null
@@ -1,33 +0,0 @@
-apply plugin: 'com.android.application'
-
-android {
- compileSdkVersion 21
- buildToolsVersion '21.1.2'
-
- defaultConfig {
- applicationId "com.microsoft.sdksample"
- minSdkVersion 15
- targetSdkVersion 22
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
-}
-
-repositories {
- flatDir {
- dirs 'libs'
- }
-}
-
-dependencies {
- releaseCompile(name: 'speechsdk', ext: 'aar')
- debugCompile project(path: ':speechsdk')
-
- compile 'com.android.support:appcompat-v7:22.1.0'
-}
diff --git a/Android/Sample/app/libs/speechsdk.aar b/Android/Sample/app/libs/speechsdk.aar
deleted file mode 100644
index 7a4539bb..00000000
Binary files a/Android/Sample/app/libs/speechsdk.aar and /dev/null differ
diff --git a/Android/Sample/app/proguard-rules.pro b/Android/Sample/app/proguard-rules.pro
deleted file mode 100644
index c931b1e2..00000000
--- a/Android/Sample/app/proguard-rules.pro
+++ /dev/null
@@ -1,17 +0,0 @@
-# Add project specific ProGuard rules here.
-# By default, the flags in this file are appended to flags specified
-# in C:\Users\jinzl\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
-# You can edit the include path and order by changing the proguardFiles
-# directive in build.gradle.
-#
-# For more details, see
-# http://developer.android.com/guide/developing/tools/proguard.html
-
-# Add any project specific keep options here:
-
-# 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 *;
-#}
diff --git a/Android/Sample/app/src/main/AndroidManifest.xml b/Android/Sample/app/src/main/AndroidManifest.xml
deleted file mode 100644
index 34020d1b..00000000
--- a/Android/Sample/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Android/Sample/app/src/main/java/com/microsoft/sdksample/MainActivity.java b/Android/Sample/app/src/main/java/com/microsoft/sdksample/MainActivity.java
deleted file mode 100644
index 915ee63b..00000000
--- a/Android/Sample/app/src/main/java/com/microsoft/sdksample/MainActivity.java
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-package com.microsoft.sdksample;
-
-import android.app.AlertDialog;
-import android.os.Bundle;
-import android.support.v7.app.ActionBarActivity;
-import android.view.View;
-import android.widget.Toast;
-
-import com.microsoft.speech.tts.Synthesizer;
-import com.microsoft.speech.tts.Voice;
-
-public class MainActivity extends ActionBarActivity {
- // Note: Sign up at http://www.projectoxford.ai for the client credentials.
- private Synthesizer m_syn;
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
-
- if (getString(R.string.api_key).startsWith("Please")) {
- new AlertDialog.Builder(this)
- .setTitle(getString(R.string.add_subscription_key_tip_title))
- .setMessage(getString(R.string.add_subscription_key_tip))
- .setCancelable(false)
- .show();
- } else {
-
- if (m_syn == null) {
- // Create Text To Speech Synthesizer.
- m_syn = new Synthesizer(getString(R.string.api_key));
- }
-
- Toast.makeText(this, "If the wave is not played, please see the log for more information.", Toast.LENGTH_LONG).show();
-
- m_syn.SetServiceStrategy(Synthesizer.ServiceStrategy.AlwaysService);
-
- Voice v = new Voice("en-US", "Microsoft Server Speech Text to Speech Voice (en-US, ZiraRUS)", Voice.Gender.Female, true);
- //Voice v = new Voice("zh-CN", "Microsoft Server Speech Text to Speech Voice (zh-CN, HuihuiRUS)", Voice.Gender.Female, true);
- m_syn.SetVoice(v, null);
-
- // Use a string for speech.
- m_syn.SpeakToAudio(getString(R.string.tts_text));
-
- // Use SSML for speech.
- String text = "You can also use SSML markup for text to speech.";
- m_syn.SpeakSSMLToAudio(text);
-
- findViewById(R.id.stop_btn).setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View view) {
- m_syn.stopSound();
- }
- });
-
- findViewById(R.id.play_btn).setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View view) {
- m_syn.SpeakToAudio(getString(R.string.tts_text));
- }
- });
- }
- }
-}
diff --git a/Android/Sample/app/src/main/res/layout/activity_main.xml b/Android/Sample/app/src/main/res/layout/activity_main.xml
deleted file mode 100644
index feb91410..00000000
--- a/Android/Sample/app/src/main/res/layout/activity_main.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/Android/Sample/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Sample/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index cde69bcc..00000000
Binary files a/Android/Sample/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/Android/Sample/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Sample/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index c133a0cb..00000000
Binary files a/Android/Sample/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/Android/Sample/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Sample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index bfa42f0e..00000000
Binary files a/Android/Sample/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/Android/Sample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Sample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 324e72cd..00000000
Binary files a/Android/Sample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/Android/Sample/app/src/main/res/values-w820dp/dimens.xml b/Android/Sample/app/src/main/res/values-w820dp/dimens.xml
deleted file mode 100644
index 63fc8164..00000000
--- a/Android/Sample/app/src/main/res/values-w820dp/dimens.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- 64dp
-
diff --git a/Android/Sample/app/src/main/res/values/dimens.xml b/Android/Sample/app/src/main/res/values/dimens.xml
deleted file mode 100644
index 47c82246..00000000
--- a/Android/Sample/app/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- 16dp
- 16dp
-
diff --git a/Android/Sample/app/src/main/res/values/strings.xml b/Android/Sample/app/src/main/res/values/strings.xml
deleted file mode 100644
index d4876ad3..00000000
--- a/Android/Sample/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- Please_add_the_api_key_here
-
- Subscription Key is Needed
- Please put your subscription key to source file \"app/res/values/strings.xml\" to enable Face API calls.
-
- Cognitive TTS Sample
-
- This is a demo of Microsoft Cognitive Services Text to Speech API.
-
- Play
- Stop
-
diff --git a/Android/Sample/app/src/main/res/values/styles.xml b/Android/Sample/app/src/main/res/values/styles.xml
deleted file mode 100644
index 766ab993..00000000
--- a/Android/Sample/app/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
diff --git a/Android/Sample/build.gradle b/Android/Sample/build.gradle
deleted file mode 100644
index f6e90731..00000000
--- a/Android/Sample/build.gradle
+++ /dev/null
@@ -1,19 +0,0 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
-buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:2.1.0'
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
-}
-
-allprojects {
- repositories {
- jcenter()
- }
-}
diff --git a/Android/Sample/gradle.properties b/Android/Sample/gradle.properties
deleted file mode 100644
index 1d3591c8..00000000
--- a/Android/Sample/gradle.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Project-wide Gradle settings.
-
-# IDE (e.g. Android Studio) users:
-# Gradle settings configured through the IDE *will override*
-# any settings specified in this file.
-
-# For more details on how to configure your build environment visit
-# http://www.gradle.org/docs/current/userguide/build_environment.html
-
-# Specifies the JVM arguments used for the daemon process.
-# The setting is particularly useful for tweaking memory settings.
-# Default value: -Xmx10248m -XX:MaxPermSize=256m
-# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
-
-# When configured, Gradle will run in incubating parallel mode.
-# This option should only be used with decoupled projects. More details, visit
-# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
-# org.gradle.parallel=true
\ No newline at end of file
diff --git a/Android/Sample/gradle/wrapper/gradle-wrapper.jar b/Android/Sample/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 8c0fb64a..00000000
Binary files a/Android/Sample/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/Android/Sample/gradle/wrapper/gradle-wrapper.properties b/Android/Sample/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 43a0343f..00000000
--- a/Android/Sample/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Mon Jun 06 16:45:32 PDT 2016
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
diff --git a/Android/Sample/gradlew b/Android/Sample/gradlew
deleted file mode 100644
index 91a7e269..00000000
--- a/Android/Sample/gradlew
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/usr/bin/env bash
-
-##############################################################################
-##
-## Gradle start up script for UN*X
-##
-##############################################################################
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
-
-APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
-
-warn ( ) {
- echo "$*"
-}
-
-die ( ) {
- echo
- echo "$*"
- echo
- exit 1
-}
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MINGW* )
- msys=true
- ;;
-esac
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD="java"
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
-fi
-
-# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
-fi
-
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
- fi
- i=$((i+1))
- done
- case $i in
- (0) set -- ;;
- (1) set -- "$args0" ;;
- (2) set -- "$args0" "$args1" ;;
- (3) set -- "$args0" "$args1" "$args2" ;;
- (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
-fi
-
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
-}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
-
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/Android/Sample/gradlew.bat b/Android/Sample/gradlew.bat
deleted file mode 100644
index 8a0b282a..00000000
--- a/Android/Sample/gradlew.bat
+++ /dev/null
@@ -1,90 +0,0 @@
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windowz variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/Android/Sample/settings.gradle b/Android/Sample/settings.gradle
deleted file mode 100644
index 64211f36..00000000
--- a/Android/Sample/settings.gradle
+++ /dev/null
@@ -1 +0,0 @@
-include ':app', ':speechsdk'
diff --git a/Android/Sample/speechsdk/.gitignore b/Android/Sample/speechsdk/.gitignore
deleted file mode 100644
index 796b96d1..00000000
--- a/Android/Sample/speechsdk/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
diff --git a/Android/Sample/speechsdk/build.gradle b/Android/Sample/speechsdk/build.gradle
deleted file mode 100644
index 2d599b5c..00000000
--- a/Android/Sample/speechsdk/build.gradle
+++ /dev/null
@@ -1,29 +0,0 @@
-apply plugin: 'com.android.library'
-
-android {
- compileSdkVersion 21
- buildToolsVersion '21.1.2'
-
- defaultConfig {
- minSdkVersion 15
- targetSdkVersion 22
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
-}
-
-repositories {
- flatDir {
- dirs 'libs'
- }
-}
-
-dependencies {
- compile 'com.android.support:appcompat-v7:22.1.0'
-}
diff --git a/Android/Sample/speechsdk/proguard-rules.pro b/Android/Sample/speechsdk/proguard-rules.pro
deleted file mode 100644
index 71367945..00000000
--- a/Android/Sample/speechsdk/proguard-rules.pro
+++ /dev/null
@@ -1,17 +0,0 @@
-# Add project specific ProGuard rules here.
-# By default, the flags in this file are appended to flags specified
-# in C:/Users/jinzl/AppData/Local/Android/sdk/tools/proguard/proguard-android.txt
-# You can edit the include path and order by changing the proguardFiles
-# directive in build.gradle.
-#
-# For more details, see
-# http://developer.android.com/guide/developing/tools/proguard.html
-
-# Add any project specific keep options here:
-
-# 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 *;
-#}
diff --git a/Android/Sample/speechsdk/src/main/AndroidManifest.xml b/Android/Sample/speechsdk/src/main/AndroidManifest.xml
deleted file mode 100644
index 38bf3b9f..00000000
--- a/Android/Sample/speechsdk/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
diff --git a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/AudioOutputFormat.java b/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/AudioOutputFormat.java
deleted file mode 100644
index 3e3b2783..00000000
--- a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/AudioOutputFormat.java
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-package com.microsoft.speech.tts;
-
-///
-/// Voice output formats.
-///
-public class AudioOutputFormat {
- ///
- /// raw-16khz-16bit-mono-pcm request output audio format type.
- ///
- public static final String Raw16Khz16BitMonoPcm = "raw-16khz-16bit-mono-pcm";
-}
diff --git a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Authentication.java b/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Authentication.java
deleted file mode 100644
index 0b8f61e3..00000000
--- a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Authentication.java
+++ /dev/null
@@ -1,151 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-package com.microsoft.speech.tts;
-
-import android.util.Log;
-
-import java.io.BufferedReader;
-import java.io.DataOutputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-import java.util.Timer;
-import java.util.TimerTask;
-
-import javax.net.ssl.HttpsURLConnection;
-
-/*
- * This class demonstrates how to get a valid O-auth accessToken from
- * Azure Data Market.
- */
-class Authentication {
- private static final String LOG_TAG = "Authentication";
- public static final String AccessTokenUri = "https://eastus.api.cognitive.microsoft.com/sts/v1.0/issueToken";
-
- private String apiKey;
- private String accessToken;
- private Timer accessTokenRenewer;
-
- // Access Token expires every 10 minutes. Renew it every 9 minutes only.
- private final int RefreshTokenDuration = 9 * 60 * 1000;
- private TimerTask nineMinitesTask = null;
-
- public Authentication(String apiKey) {
- this.apiKey = apiKey;
-
- Thread th = new Thread(new Runnable() {
- @Override
- public void run() {
- RenewAccessToken();
- }
- });
-
- try {
- th.start();
- th.join();
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- // renew the accessToken every specified minutes
- accessTokenRenewer = new Timer();
- nineMinitesTask = new TimerTask() {
- public void run() {
- RenewAccessToken();
- }
- };
-
- accessTokenRenewer.schedule(nineMinitesTask, RefreshTokenDuration, RefreshTokenDuration);
- }
-
- public String GetAccessToken() {
- return this.accessToken;
- }
-
- private void RenewAccessToken() {
- synchronized(this) {
- HttpPost(AccessTokenUri, this.apiKey);
-
- if(this.accessToken != null){
- Log.d(LOG_TAG, "new Access Token: " + this.accessToken);
- }
- }
- }
-
- private void HttpPost(String AccessTokenUri, String apiKey) {
- InputStream inSt = null;
- HttpsURLConnection webRequest = null;
-
- this.accessToken = null;
- //Prepare OAuth request
- try{
- URL url = new URL(AccessTokenUri);
- webRequest = (HttpsURLConnection) url.openConnection();
- webRequest.setDoInput(true);
- webRequest.setDoOutput(true);
- webRequest.setConnectTimeout(5000);
- webRequest.setReadTimeout(5000);
- webRequest.setRequestProperty("Ocp-Apim-Subscription-Key", apiKey);
- webRequest.setRequestMethod("POST");
-
- String request = "";
- byte[] bytes = request.getBytes();
- webRequest.setRequestProperty("content-length", String.valueOf(bytes.length));
- webRequest.connect();
-
- DataOutputStream dop = new DataOutputStream(webRequest.getOutputStream());
- dop.write(bytes);
- dop.flush();
- dop.close();
-
- inSt = webRequest.getInputStream();
- InputStreamReader in = new InputStreamReader(inSt);
- BufferedReader bufferedReader = new BufferedReader(in);
- StringBuffer strBuffer = new StringBuffer();
- String line = null;
- while ((line = bufferedReader.readLine()) != null) {
- strBuffer.append(line);
- }
-
- bufferedReader.close();
- in.close();
- inSt.close();
- webRequest.disconnect();
-
- this.accessToken = strBuffer.toString();
-
- } catch (Exception e) {
- Log.e(LOG_TAG, "Exception error", e);
- }
- }
-}
diff --git a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Synthesizer.java b/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Synthesizer.java
deleted file mode 100644
index 9aa88406..00000000
--- a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Synthesizer.java
+++ /dev/null
@@ -1,150 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-package com.microsoft.speech.tts;
-
-import android.media.AudioFormat;
-import android.media.AudioManager;
-import android.media.AudioTrack;
-import android.os.AsyncTask;
-
-public class Synthesizer {
-
- private Voice m_serviceVoice;
- private Voice m_localVoice;
-
- public String m_audioOutputFormat = AudioOutputFormat.Raw16Khz16BitMonoPcm;
-
- private AudioTrack audioTrack;
-
- private void playSound(final byte[] sound, final Runnable callback) {
- if (sound == null || sound.length == 0){
- return;
- }
-
- AsyncTask.execute(new Runnable() {
- @Override
- public void run() {
- final int SAMPLE_RATE = 16000;
-
- audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, SAMPLE_RATE, AudioFormat.CHANNEL_CONFIGURATION_MONO,
- AudioFormat.ENCODING_PCM_16BIT, AudioTrack.getMinBufferSize(SAMPLE_RATE, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT), AudioTrack.MODE_STREAM);
-
- if (audioTrack.getState() == AudioTrack.STATE_INITIALIZED) {
- audioTrack.play();
- audioTrack.write(sound, 0, sound.length);
- audioTrack.stop();
- audioTrack.release();
- }
-
- if (callback != null) {
- callback.run();
- }
- }
- });
- }
-
- //stop playing audio data
- // if use STREAM mode, will wait for the end of the last write buffer data will stop.
- // if you stop immediately, call the pause() method and then call the flush() method to discard the data that has not yet been played
- public void stopSound() {
- try {
- if (audioTrack != null && audioTrack.getState() == AudioTrack.STATE_INITIALIZED) {
- audioTrack.pause();
- audioTrack.flush();
-
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public enum ServiceStrategy {
- AlwaysService//, WiFiOnly, WiFi3G4GOnly, NoService
- }
-
- public Synthesizer(String apiKey) {
- m_serviceVoice = new Voice("en-US");
- m_localVoice = null;
- m_eServiceStrategy = ServiceStrategy.AlwaysService;
- m_ttsServiceClient = new TtsServiceClient(apiKey);
- }
-
- public void SetVoice(Voice serviceVoice, Voice localVoice) {
- m_serviceVoice = serviceVoice;
- m_localVoice = localVoice;
- }
-
- public void SetServiceStrategy(ServiceStrategy eServiceStrategy) {
- m_eServiceStrategy = eServiceStrategy;
- }
-
- public byte[] Speak(String text) {
- String ssml = " 0) {
- ssml += " name='" + m_serviceVoice.voiceName + "'>";
- } else {
- ssml += ">";
- }
- ssml += text + "";
- }
- return SpeakSSML(ssml);
- }
-
- public void SpeakToAudio(String text) {
- playSound(Speak(text), null);
- }
-
- public void SpeakSSMLToAudio(String ssml) {
- playSound(SpeakSSML(ssml), null);
- }
-
- public byte[] SpeakSSML(String ssml) {
- byte[] result = null;
- /*
- * check current network environment
- * to do...
- */
- if (m_eServiceStrategy == ServiceStrategy.AlwaysService) {
- result = m_ttsServiceClient.SpeakSSML(ssml);
- if (result == null || result.length == 0) {
- return null;
- }
-
- }
- return result;
- }
-
- private TtsServiceClient m_ttsServiceClient;
- private ServiceStrategy m_eServiceStrategy;
-}
diff --git a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/TtsServiceClient.java b/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/TtsServiceClient.java
deleted file mode 100644
index d4f5fbf9..00000000
--- a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/TtsServiceClient.java
+++ /dev/null
@@ -1,119 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-package com.microsoft.speech.tts;
-
-import android.util.Log;
-
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-import java.net.*;
-
-import javax.net.ssl.*;
-
-class TtsServiceClient {
- private static final String LOG_TAG = "SpeechSDKTTS";
- private static String s_contentType = "application/ssml+xml";
- private final String m_serviceUri;
- private String m_outputFormat;
- private Authentication m_auth;
- private byte[] m_result;
-
- public TtsServiceClient(String apiKey) {
- m_outputFormat = "raw-16khz-16bit-mono-pcm";
- m_serviceUri = "https://eastus.tts.speech.microsoft.com/cognitiveservices/v1?traffictype=AndroidTest";
- m_auth = new Authentication(apiKey);
- }
-
- public void Authentication() {
-
- }
-
- protected void doWork(String ssml) {
- int code = -1;
- synchronized(m_auth) {
- String accessToken = m_auth.GetAccessToken();
- try {
- URL url = new URL(m_serviceUri);
- HttpsURLConnection urlConnection = (HttpsURLConnection)url.openConnection();
- urlConnection.setDoInput(true);
- urlConnection.setDoOutput(true);
- urlConnection.setConnectTimeout(5000);
- urlConnection.setReadTimeout(15000);
- urlConnection.setRequestMethod("POST");
- urlConnection.setRequestProperty("Content-Type", s_contentType);
- urlConnection.setRequestProperty("X-MICROSOFT-OutputFormat", m_outputFormat);
- urlConnection.setRequestProperty("Authorization", "Bearer " + accessToken);
- urlConnection.setRequestProperty("X-Search-AppId", "07D3234E49CE426DAA29772419F436CA");
- urlConnection.setRequestProperty("X-Search-ClientID", "1ECFAE91408841A480F00935DC390960");
- urlConnection.setRequestProperty("User-Agent", "TTSAndroid");
- urlConnection.setRequestProperty("Accept", "*/*");
- byte[] ssmlBytes = ssml.getBytes();
- urlConnection.setRequestProperty("content-length", String.valueOf(ssmlBytes.length));
- urlConnection.connect();
- urlConnection.getOutputStream().write(ssmlBytes);
- code = urlConnection.getResponseCode();
- if (code == 200) {
- InputStream in = urlConnection.getInputStream();
- ByteArrayOutputStream bout = new ByteArrayOutputStream();
- byte[] bytes = new byte[1024];
- int ret = in.read(bytes);
- while (ret > 0) {
- bout.write(bytes, 0, ret);
- ret = in.read(bytes);
- }
- m_result = bout.toByteArray();
- }
- urlConnection.disconnect();
- } catch (Exception e) {
- Log.e(LOG_TAG, "Exception error", e);
- }
- }
- }
-
- public byte[] SpeakSSML(final String ssml) {
- Thread th = new Thread(new Runnable() {
- @Override
- public void run() {
- doWork(ssml);
- }
- });
- try {
- th.start();
- th.join();
- } catch (Exception e) {
- Log.e(LOG_TAG, "Exception error", e);
- }
-
- return m_result;
- }
-}
diff --git a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Voice.java b/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Voice.java
deleted file mode 100644
index ee40ca37..00000000
--- a/Android/Sample/speechsdk/src/main/java/com/microsoft/speech/tts/Voice.java
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license.
-//
-// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
-//
-// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
-// https://github.com/Microsoft/Cognitive-Speech-TTS
-//
-// Copyright (c) Microsoft Corporation
-// All rights reserved.
-//
-// MIT License:
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-package com.microsoft.speech.tts;
-
-public class Voice {
- public enum Gender {
- Male, Female
- }
-
- public Voice(String lang) {
- this.lang = lang;
- this.voiceName = "";
- this.gender = Gender.Female;
- this.isServiceVoice = true;
- }
-
- public Voice(String lang, String voiceName, Gender gender, Boolean isServiceVoice) {
- this.lang = lang;
- this.voiceName = voiceName;
- this.gender = gender;
- this.isServiceVoice = isServiceVoice;
- }
-
- public final String lang;
- public final String voiceName;
- public final Gender gender;
- public final Boolean isServiceVoice;
-}
diff --git a/Android/SampleScreenshots/SampleRunning1.png b/Android/SampleScreenshots/SampleRunning1.png
deleted file mode 100644
index 09b52228..00000000
Binary files a/Android/SampleScreenshots/SampleRunning1.png and /dev/null differ