获取黑莓所有已安装的应用程序列表 [英] Get a list of all installed applications on Blackberry

查看:197
本文介绍了获取黑莓所有已安装的应用程序列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能得到安装在黑莓的所有应用程序的列表,类似于应用程序列表中,当你进入你的设置。

我可以使用下面的,但我不知道是否有可能得到不一定运行,但安装的应用程序的列表,让所有可见的应用程序列表,

  ApplicationDescriptor [] =描述
    ApplicationManager.getApplicationManager()getVisibleApplications()。


解决方案

您可以使用:

  net.rim.device.api.system数据。codeModuleManager.getModuleHandles()

要得到句柄的数组到所有的模块和:

  codeModuleManager net.rim.device.api.system数据。
    .getApplicationDescriptors(INT moduleHandle)

要获得与模块相关ApplicationDescriptors。你必须弄清楚哪些模块库和它们的应用程序。

Is it possible to get a list of all applications installed in a Blackberry, similar to the applications list when you go into your settings.

I can get a list of all visible applications using the following but I was wondering if it's possible to get a list of apps that aren't necessarily running but are installed,

ApplicationDescriptor[] descriptors = 
    ApplicationManager.getApplicationManager().getVisibleApplications();

解决方案

You can use:

net.rim.device.api.system.CodeModuleManager.getModuleHandles()

To get an array of handles into all modules, and:

net.rim.device.api.system.CodeModuleManager
    .getApplicationDescriptors(int moduleHandle)

To get ApplicationDescriptors associated with the module. You will have to sort out which modules are libraries and which are applications.

这篇关于获取黑莓所有已安装的应用程序列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆