Skip to content

Commit

Permalink
standalone voice recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
StarrLucky committed Aug 21, 2020
1 parent 0175452 commit 961f6e7
Show file tree
Hide file tree
Showing 15 changed files with 1,774 additions and 31 deletions.
16 changes: 12 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 28
buildToolsVersion '29.0.0'

defaultConfig {
applicationId "no.nordicsemi.android.nrfblinky"
minSdkVersion 18
targetSdkVersion 29
versionCode 12
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "2.4.3"
resConfigs "en"

Expand Down Expand Up @@ -58,6 +58,14 @@ dependencies {
// implementation project(":ble")
//NanoHTTP
implementation 'org.nanohttpd:nanohttpd:2.2.0'
implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.13.0'

implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'

// Microsoft Speech SDK

implementation 'com.rollbar:rollbar-java:1.+'
implementation 'com.rollbar:rollbar-android:1.+@aar'

}
15 changes: 13 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="no.nordicsemi.android.LOG" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

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

<uses-feature
android:name="android.hardware.bluetooth_le"
Expand All @@ -25,6 +25,10 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<service
android:name=".ShockingService"
android:enabled="true"
android:exported="true" />
<activity android:name=".ShockingActivity" />
<activity
android:name=".SplashScreenActivity"
Expand Down Expand Up @@ -52,7 +56,14 @@
android:name=".BlinkyActivity"
android:launchMode="singleTop"
android:parentActivityName=".ScannerActivity" />

<service android:name=".http.AndroidWebServerService" />



<meta-data android:name="com.rollbar.android.ACCESS_TOKEN"
android:value="82fc764f9ca441a1842bade91bea5221" />
</application>


</manifest>
Loading

0 comments on commit 961f6e7

Please sign in to comment.