//Contacts app control parameters
extern const wchar_t* CONTACTS_VIEW_TYPE;
extern const wchar_t* CONTACTS_VIEW_TYPE_CONTACT;
+extern const wchar_t* ITEM_TYPE_CONTACT ;
extern const wchar_t* CONTACTS_ID_KEY;
+extern const wchar_t* ITEM_TYPE_PERSON ;
+extern const wchar_t* CONTACT_KEY_ITEM_TYPE ;
+extern const wchar_t* CONTACT_KEY_ITEM_ID ;
+
extern const wchar_t* SELECTION_MODE;
extern const wchar_t* RETURN_TYPE;
String idVal;
idVal.Append(pContact->GetRecordId());
extraData.Add(new (std::nothrow) String(CONTACTS_VIEW_TYPE), new (std::nothrow) String(CONTACTS_VIEW_TYPE_CONTACT));
+ extraData.Add(new (std::nothrow) String(CONTACTS_VIEW_TYPE_CONTACT), new (std::nothrow) String(CONTACTS_VIEW_TYPE_CONTACT));
+ extraData.Add(new (std::nothrow) String(CONTACT_KEY_ITEM_ID), new (std::nothrow) String(idVal));
extraData.Add(new (std::nothrow) String(CONTACTS_ID_KEY), new (std::nothrow) String(idVal));
+ extraData.Add(new (std::nothrow) String(CONTACT_KEY_ITEM_TYPE), new (std::nothrow) String(ITEM_TYPE_PERSON));
pAc = AppManager::FindAppControlN(PROVIDER_ID_CONTACTS, OPERATION_ID_VIEW);
}
{
AppLogDebug("Add Contact");
extraData.Add(new (std::nothrow) String(INPUT_TYPE_PHONE), new (std::nothrow) String(*__pContactNumber));
+ extraData.Add(new (std::nothrow) String(CONTACT_KEY_ITEM_TYPE), new (std::nothrow) String(ITEM_TYPE_CONTACT));
pAc = AppManager::FindAppControlN(PROVIDER_ID_CONTACTS, OPERATION_ID_ADD);
}
const wchar_t* PARAM_CALL_VALUE_VOICE = L"voice";
const wchar_t* PARAM_CALL_TYPE = L"http://tizen.org/appcontrol/data/call/type";
const wchar_t* PARAM_PHONE_NUMBER = L"tel";
-const wchar_t* INPUT_TYPE_PHONE = L"phone";
+const wchar_t* INPUT_TYPE_PHONE = L"http://tizen.org/appcontrol/data/social/phone";
const wchar_t* MESSAGE_TYPE = L"http://tizen.org/appcontrol/data/message/type";
const wchar_t* MESSAGE_SMS_TYPE = L"SMS";
const wchar_t* MESSAGE_TEXT = L"http://tizen.org/appcontrol/data/text";
//Contacts app control parameters
const wchar_t* CONTACTS_VIEW_TYPE = L"viewType";
const wchar_t* CONTACTS_VIEW_TYPE_CONTACT = L"contact";
+const wchar_t* ITEM_TYPE_CONTACT = L"contact";
const wchar_t* CONTACTS_ID_KEY = L"contactId";
+const wchar_t* ITEM_TYPE_PERSON = L"person";
+const wchar_t* CONTACT_KEY_ITEM_TYPE = L"http://tizen.org/appcontrol/data/social/item_type";
+const wchar_t* CONTACT_KEY_ITEM_ID = L"http://tizen.org/appcontrol/data/social/item_id";
const wchar_t* SELECTION_MODE = L"selectionMode";