RoboTutorLLC / RoboTutor_2019

Main code for RoboTutor. Uploaded 11/20/2018 to XPRIZE from RoboTutorLLC/RoboTutor.
Other
7 stars 4 forks source link

RoboTutor exit #119

Closed JackMostow closed 7 years ago

JackMostow commented 7 years ago
  1. Restore the rating menu option to "Stop using RoboTutor."
  2. When it's selected, choose randomly among the [Exit] prompts (e.g. "Goodbye!" and"You learned a lot today!") in the SELECT ACTIVITY tab of at [Swahili translations] at (https://docs.google.com/spreadsheets/d/11feAhhQqrpJC2waSpOkReMiG3SwmNOofrkir3JljmVM/edit#gid=175470813). Why: these prompts are intended in combination with "Welcome back" to build rapport and encourage learning.
kevindeland commented 7 years ago

Possible files to use

kevindeland commented 7 years ago

See changes made here

kevindeland commented 7 years ago

note to self: just adding the button to the items array in dev_data.json makes RoboTutor crash when language button is pushed, with NO feedback** as to why 🙅. It also disables behavior of pushing of any of the activity buttons.

this is because when the button is clicked, the TutorEngine destroys the current tutor, which then destroys all the buttons defined in the json, but Button6 doesn't exist.

Stack Trace image

In CAskComponent.releaseReferences(): image mDataSource.items is the json array we changed, and in ibView.setImageDrawable, ibView is null.

**edit: for some reason I stopped getting logs in the Android Studio console... fixed

kevindeland commented 7 years ago

Menu option restored. Next step is to change sound.

kevindeland commented 7 years ago

List of mp3 responses from this folder and see this folder for Swahili

[Exit]

[defer till reliably measure usage duration:] You used RoboTutor for __ mp3 ___ minutes today. mp3

English Swahili added en added sw
Goodbye! mp3 √ √
Thank you for using RoboTutor! mp3 √ √
See you soon! mp3 √ √
I hope you had as much fun as I did! mp3 √ √
See you next time! mp3 √ √
Think how much you learned today! Fikiria ni kiasi gani ulijifunza leo! √ √
Think about what you learned today! Fikiria juu yay ale uliyojifunza leo! √ √
Tell your friends and family what you learned today! Waambie rafiki zako na familia yale uliyojifunza leo! √ √
Can you teach your friends what you learned today? Je, unaweza kufundisha rafiki zako yale uliyojifunza leo? √ √
kevindeland commented 7 years ago

Kevin's notes while tracking issue https://docs.google.com/presentation/d/1SASAuOQvIvKVVywD5c6TGbH-xPsw65JS8PinCsV88wc/edit?usp=sharing

kevindeland commented 7 years ago

for part (2), we should play this randomly selected mp3 after RoboTutor leaves the activity_selector screen, and there should be another screen with the RoboTutor eyes until the clip is done playing.

kevindeland commented 7 years ago

tablet directories: