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
CALLbutton to call- A text that gets displayed if the user taps on the
CALLbutton without entering a number - A confirmation dialog box that appears when user taps on the
CALLbutton after entering a number
User interactions in the PhoneCallApp
- Enter a number in the text box
- Tap the
CALLbutton - Tap on
OKorCancelin 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:
