MobileICP6 - Nikii1118/Web-Programming- GitHub Wiki

Nikita Goyal

Class ID-10

TASK


Create a Medical AssistantApplication in the following steps.

  1. Use the layout given in the second use case speech to text.

  2. As soon as the app opens, it should say hello

  3. Then the user clicks on the mic button to say hello

  4. Once the user said hello, the app should speak, "what is your name?"

  5. Then the user clicks on the mic button to say, "My name is"+

  6. 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";

  1. Also, show the name on the screen

  2. When the user asks the following questions, appropriate answers should be given:

Capture

OUTPUT

speech1

nikita 1

Nikita2

⚠️ **GitHub.com Fallback** ⚠️