execute text-to-speech conversion and play the speech audio (4 marks) • a button ‘Stop’ to stop the playback

In this section, you will develop an app to use Ionic native plugins that access some of the mobile
device’s hardware sensors. The app should be working on a real device or an emulator (it will be
tested). This app will have three pages. You need to integrate these plugins to your app.
First Page: Text-to-speech conversion: The first page will have the followings functionalities and items:
• an input field to enter a string
• a range control to select and control speed rate of the speech (0 ~ 1) (1 mark)
• a button ‘Speech’ to execute text-to-speech conversion and play the speech audio (4 marks)
• a button ‘Stop’ to stop the playback (2 marks)
Users will need to enter a text. When the speech button is tapped, the app starts generating the
synthesised audio output of the input text. The stop button will stop the playback of this audio output.
You will need to research the ‘text to speech’ plugin for this.
Second Page: Call a number: The second page will have the followings functionalities and items:
• an input field to enter a valid phone or mobile number (e.g., 04XXXXXXXX, 07XXXXXXXX)
• a button ‘Call’ to call the entered number (4 marks)
Users will need to enter a valid phone or mobile number. When the call button is tapped, the app
starts calling the number entered. You will need to research the ‘call number’ plugin for this.
Third Page: Battery status: The second page will have the followings functionalities and items:
• displays the current charge level of the battery and the status if the phone is plugged in (3
marks)
• displays a warning message if the charge level goes below 50% (1 mark)