Hi All,
First post here. I am new to Android 2.3.3 but enjoying the ride!
I want to launch an activity which shows the Contact Manager Groups UI. The Activity. The user would be allows to insert and delete users from that group.
This is an exmaple of what I have used to lauch a pick user activity, this works:
I was hoping to do something similar to launch the an insert group Intent:
This fails as android is unable to find a registered activity.
This surprised me as I assume the contact manager would have a UI for editing groups which I could reuse.
So, is there a way of launching an activity to add manage the groups in the standard contact manager?
Many Thanks....
Resources
This launches the favorites member view in 2.3 but is marked a deprecated. The behavior I want is similar to this.
ContactsContract.Intents | Android Developers
First post here. I am new to Android 2.3.3 but enjoying the ride!
I want to launch an activity which shows the Contact Manager Groups UI. The Activity. The user would be allows to insert and delete users from that group.
This is an exmaple of what I have used to lauch a pick user activity, this works:
Code:
Intent intent = new Intent(Intent.ACTION_PICK,ContactsContract.Contacts.CONTENT_URI);
startActivityForResult(intent, PICK_CONTACT);
I was hoping to do something similar to launch the an insert group Intent:
Code:
Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT);
intent.setType(ContactsContract.Groups.CONTENT_ITEM_TYPE);
startActivity(intent);
This fails as android is unable to find a registered activity.
This surprised me as I assume the contact manager would have a UI for editing groups which I could reuse.
So, is there a way of launching an activity to add manage the groups in the standard contact manager?
Many Thanks....
Resources
This launches the favorites member view in 2.3 but is marked a deprecated. The behavior I want is similar to this.
Code:
Intent intent = new Intent(Contacts.Intents.UI.LIST_STARRED_ACTION);
startActivity(intent);
ContactsContract.Intents | Android Developers
