From 5b659bfa8306cb3ea7de6b93e080d6a78452c9d1 Mon Sep 17 00:00:00 2001 From: Yong Song Date: Thu, 16 May 2013 14:31:57 +0900 Subject: [PATCH] Fixing a doxygen example for AppControl usage Change-Id: Ibb35e406f64caf6617680e72cad3d45871128163 --- inc/FAppAppControl.h | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/inc/FAppAppControl.h b/inc/FAppAppControl.h index 1c73a33..082b12c 100644 --- a/inc/FAppAppControl.h +++ b/inc/FAppAppControl.h @@ -1043,27 +1043,18 @@ _OSP_EXPORT_ extern const Tizen::Base::String APPCONTROL_RESULT_TERMINATED; * * * @code -* -* using namespace Tizen::Base::Collection; * using namespace Tizen::App; * * void -* MyAppClass::AppControlCallSample(void) +* MyAppClass::AppControlDailSample(void) * { -* HashMap extraData; -* String telKey = L"tel"; -* String telVal = L"1234567890"; -* String typeKey = L"type"; -* String typeVal = L"voice"; -* -* extraData.Construct(); -* extraData.Add(&telKey, &telVal); -* extraData.Add(&typeKey, &typeVal); -* -* AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/call"); -* if(pAc) +* +* String telUri = L"tel:12345678900"; +* +* AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/dial"); +* if(pAc) * { -* pAc->Start(null, null, &extraData, null); +* pAc->Start(&telUri, null, null, null); * delete pAc; * } * } -- 2.7.4