Reputation: 41
Please advice the program (eclipse) to obtain operating system, version information and number of application in a blackberry device.
Upvotes: 4
Views: 2357
Reputation: 15313
os version: DeviceInfo.getSoftwareVersion()
number of running Apps:
ApplicationDescriptor[] ad =
ApplicationManager.getApplicationManager().getVisibleApplications();
int numberOfRunningApps = ad.length;
Upvotes: 9