Recall the application code
Let's rewind to some of the things we wrote during application development.
Elements in the PhoneCallApp
- Textbox to enter phone number
CALL
button to call- A text that gets displayed if the user taps on the
CALL
button without entering a number - A confirmation dialog box that appears when user taps on the
CALL
button after entering a number
User interactions in the PhoneCallApp
- Enter a number in the text box
- Tap the
CALL
button - Tap on
OK
orCancel
in the confirmation dialog box
Open the MainActivity.cs
file from the PhoneCallApp
project and you'll notice that we are showing a toast if the entered number string is empty:
