This app loads contacts from the phone into the app. At first, the app checks whether it has permission to load contacts. If yes, the contacts are loaded. If no, the app requests for permission and then act accordingly.
Once the contacts are loaded and when a contact is clicked, an alert box is displayed with all the phone numbers and email ids of the selected contact. When a phone number is selected, the app redirects the screen to the messaging app with customized message and selected phone number. When an email id is selected, the app redirects the screen to the email app (if set up) with customized message, customized subject and selected phone number.
Initially, should be added to AndroidManifest. Else the app would crash on the launch itself.