MobileICP6 - Nikii1118/Web-Programming- GitHub Wiki
Nikita Goyal
Class ID-10
TASK
Create a Medical AssistantApplication in the following steps.
- 
Use the layout given in the second use case speech to text. 
- 
As soon as the app opens, it should say hello 
- 
Then the user clicks on the mic button to say hello 
- 
Once the user said hello, the app should speak, "what is your name?" 
- 
Then the user clicks on the mic button to say, "My name is"+ 
- 
Extract the name of the user and then save it as editor level. 
Code snippet:
private SharedPreferences preferences; private SharedPreferences.Editor editor;preferences = getSharedPreferences(PREFS,0);editor = preferences.edit();editor.putString(NAME,).apply(); //private static final String NAME = "name";
- 
Also, show the name on the screen 
- 
When the user asks the following questions, appropriate answers should be given: 
OUTPUT

