I\'m trying to use the QuickContactBadge
. I would like to get an effect like this:
1) A caution: you must use API Level 5 or above to use this function.
2) For taking to you on contact page: The function of this badge works in such a way that if a contact is already there then it will show you the quick contact badge else it will take you the "add contact" screen with this phone no pre filled in contact's info.
So now, you need to save a contact with the phone no defined. After saving the contact, when you will click on the button next time, it will show you the desired results.
You need to add the READ_CONTACTS permission to your AndroidManifest.xml file:
<uses-permission android:name="android.permission.READ_CONTACTS" />