언어 설정

Menu
Sites
Language
API to get list of all installed Apps

Hi all
Is there API to get list of all installed Apps?
In Appmanager class I have found Tizen::App::AppManager::GetRunningAppListN to get list of running apps to this moment.

Thank you in advance.
Alexey.
 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
S YUVARAJ
Tizen::Base::Collection::IList* pPackageAppInfoList; Tizen::Base::Collection::IList* pPackageInfoList; ArrayList appIdList(SingleObjectDeleter); PackageManager* pPackageManager = PackageManager::GetInstance(); pPackageInfoList = pPackageManager->GetPackageInfoListN(); int packageInfoCount = pPackageInfoList->GetCount(); for (int i = 0; i < packageInfoCount; i++) { PackageInfo* pPackageInfo = static_cast< PackageInfo* >(pPackageInfoList->GetAt(i)); pPackageAppInfoList = pPackageInfo->GetPackageAppInfoListN(); int packageAppInfoCount = pPackageAppInfoList->GetCount(); for (int j = 0; j < packageAppInfoCount; j++) { // PackageAppInfo class instance PackageAppInfo* pPackageAppInfo = static_cast< PackageAppInfo* >(pPackageAppInfoList->GetAt(j)); AppId appId = pPackageAppInfo->GetAppId(); } appIdList.Add(new String(appId.GetPointer())); } //The Array List "appIdList" contains the AppIDs of all the Applications installed in the device.
wil smith
You can use Tizen::App::Package::PackageManager APIs for the same
Alex Dem
Thank you a lot! Alexey.
johnny

mark