Updated version number for test installation
This commit is contained in:
@@ -11,7 +11,7 @@ android {
|
|||||||
applicationId = "net.mmanningau.speechtokeyboard"
|
applicationId = "net.mmanningau.speechtokeyboard"
|
||||||
minSdk = 28
|
minSdk = 28
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 4
|
versionCode = 5
|
||||||
versionName = "1.0"
|
versionName = "1.0"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|||||||
@@ -54,6 +54,10 @@ class TestModelActivity : AppCompatActivity(), RecognitionListener {
|
|||||||
toggleListening()
|
toggleListening()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialize the model in background
|
||||||
|
initModel()
|
||||||
|
}
|
||||||
|
|
||||||
private fun connectToPico() {
|
private fun connectToPico() {
|
||||||
val usbManager = getSystemService(Context.USB_SERVICE) as UsbManager
|
val usbManager = getSystemService(Context.USB_SERVICE) as UsbManager
|
||||||
|
|
||||||
@@ -90,9 +94,6 @@ class TestModelActivity : AppCompatActivity(), RecognitionListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize the model in background
|
|
||||||
initModel()
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun initModel() {
|
private fun initModel() {
|
||||||
// We look for the folder inside private storage (same logic as MainActivity)
|
// We look for the folder inside private storage (same logic as MainActivity)
|
||||||
|
|||||||
Reference in New Issue
Block a user