语言

Menu
Sites
Language
How to export custom appcontrol in my service application and use it?

i want to export my service application's functionalities by appconrol.i have add the appcontrol setting in manifest.xml.but when i want use it in another nativeappliacation(UI appliacation), i use the function "AppManager::FindAppControlN(const AppId& appId, const Tizen::Base::String& operationId)",but can't get the pointer of the appcontrol. so i read the source code of tizen framework,find it becasue there's no register information in the file "/usr/ect/app-control-info.ini", I don't know why, should the ide settle these things? becasue i have add the appcontrol setting in manifest.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

3 回复
djw
AppControl* pAc = AppManager::FindAppControlN(L"LaCRIUBRIW", L"http://pateo.com/appcontrol/operation/RadioScan"); String telUri = L""; TextBox* pTextBox = dynamic_cast< TextBox* >(GetControl(L"IDC_TEXTBOX1")); //pLabel->SetText(L"sdfasdfasdf"); if(pAc) { pAc->Start(&telUri, null, null, this); delete pAc; }
djw
LaCRIUBRIW 1.0.0 C++App true true 2.1 RadioServiceDemo mainmenu.png http://pateo.com/appcontrol/operation/RadioScan
wil smith
Looks AppManager::FindAppControlN() works for platform appcontrols. For custom appcontrol use AppManager::FindAppControlsN() or AppControl::FindAndStart() APIs.