Fixing a doxygen example for AppControl usage
authorYong Song <yong.song@samsung.com>
Thu, 16 May 2013 05:31:57 +0000 (14:31 +0900)
committerYong Song <yong.song@samsung.com>
Thu, 16 May 2013 06:02:50 +0000 (15:02 +0900)
Change-Id: Ibb35e406f64caf6617680e72cad3d45871128163

inc/FAppAppControl.h

index 1c73a33..082b12c 100644 (file)
@@ -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;
 *              }
 *      }