Pankaj
Pankaj

Reputation: 41

Blackberry - How to get OS version information and number of applications

Please advice the program (eclipse) to obtain operating system, version information and number of application in a blackberry device.

Upvotes: 4

Views: 2357

Answers (1)

Vivart
Vivart

Reputation: 15313

os version: DeviceInfo.getSoftwareVersion()

number of running Apps:

ApplicationDescriptor[] ad = 
    ApplicationManager.getApplicationManager().getVisibleApplications();
int numberOfRunningApps = ad.length;

Upvotes: 9

Related Questions