Skip to content
/ ccboard Public

Cboard Cordova - AAC communication board with text-to-speech for mobile devices

Notifications You must be signed in to change notification settings

nous-/ccboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cboard Cordova - AAC communication board with text-to-speech for mobile devices

git clone --recursive [email protected]:nous-/ccboard.git

This is a Cordova application that wraps the original Cboard React application to bring native mobile support. The Cboard react app is maintained to support Cordova detection, setup and bindings.

Text-to-speach (TTS) support is provided via phonegap-plugin-speech-synthesis. This plugin bridges the native operating system TTS functionality to browser app, in a way that mimics W3C Web Speech API: SpeechSynthesis. It uses the android.speech.tts.TextToSpeech interface on Android.

One-time setup

  1. git submodule update - Get Cboard app
  2. npm i
  3. mkdir -p www - Make root cordova app folder
  4. cordova platform add android - Add Android Cordova platform. www folder must be present.
  5. cd cboard
  6. npm i

Building

  1. cd cboard
  2. Release npm run build / Debug npm run build-cordova-debug
  3. cp -r ./build/* ../www
  4. cd ..
  5. cordova run android --emulator

Generate Release APK

  1. Build cordova build android --release

  2. Copy cp platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk ccboard.apk

  3. Sign

    1. Generate self-signed keys keytool -genkey -v -keystore ccboard.keystore -alias ccboard -keyalg RSA -keysize 2048 -validity 100000
    2. Sign jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ccboard.keystore ccboard.apk ccboard

Debugging output

For emulator console.log output, you can either run in the debugging under eg. Android Studio, or in Chrome, navigate to chrome://inspect, and select the remote target that shows up once the emulator starts.

About

Cboard Cordova - AAC communication board with text-to-speech for mobile devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages