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

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

os version: DeviceInfo.getSoftwareVersion()
number of running Apps:
ApplicationDescriptor[] ad =
ApplicationManager.getApplicationManager().getVisibleApplications();
int numberOfRunningApps = ad.length;

Related

Reg. iOs mobile app developement hardware requirements using Delphi XE7

I'm using Delphi XE7 for developing mobile application. And some how, I have learnt how to create and test the Android mobile application using Delphi XE7 and for developing and testing Android application, just one Android mobile is enough. And I need to know the hardware requirements for developing and testing iOs mobile applications. And currently I'm having Windows 64 bit Os. Is it possible to develop and test, if I'm having Mac Os which is Virtual Os and iPhone device in my hand. And in the Virtual OS, I need to install Xcode and the required packages. Please confirm me once should I need compulsory MAC book for developing iOs mobile application using Delphi XE7.?
Please provide me the solution.
In addition to your development PC, you need the following to develop multi-device applications for iOS:
A Mac running OS X
An iOS device, connected to your Mac by USB cable
http://docwiki.embarcadero.com/RADStudio/XE7/en/IOS_Mobile_Application_Development
The Mac OS X is bound to the Apple hardware. The only way to make OS X run in a virtual machine is to hack it. There are several solutions available e.g. here and here.
I am however sure that you will end up being frustrated about spending too much time on tweaking Delphi and the hacked OS X - even with Apple hardware there can be plenty of frustrations! For example there are updates to Xcode all the time and some of them breaks things. If you also have to tweak OS X every time you need to update, you would wish you bought the hardware.
I can recommend buying a Mac Mini ($499), it is the cheapest way to get a Mac. To minimize cost, you can simply connect it to the same monitor as your windows computer and just switch input on the monitor when you are working on the Mac. I have done that and it works very well.

How to execute Blackberry OS 6 app in Blackberry 10 OS

I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error:
Unsupported for this device
Please help me how to run application in OS 10.
Thanks in Advance.
OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms:
http://developer.blackberry.com/develop/platform_choice/index.html
Cascades (c++ & qml)
Webworks
Android
Adobe Air
With WebWorks it is possible to run your application in both BlackBerry 6 and BlackBerry 10, you may need to make some changes to your code, but it is certainly possible and there are plenty of resources available.
You can start from here.
Specifically BlackBerry states:
Your BlackBerry WebWorks app can be targeted to run on a variety of
BlackBerry device models or ported to a different OS, such as iOS or
Android.
Developing your app with BlackBerry WebWorks gives you the flexibility
to target users of the latest BlackBerry devices and those who are
using older models. Depending on the OS you want to target, versions
of the BlackBerry WebWorks SDK available for:
BlackBerry 10
BlackBerry PlayBook
BlackBerry 7 and earlier
See here for a tutorial on creating an application which is able to work on old and new BB devices (Simple Hello World application).
A good article to look at can be found here, which explains some of the fundamentals and differences with webworks.

Will BlackBerry application for OS 7.1 work for BlackBerry OS 10?

Please tell me will BlackBerry application till OS 7.1 work for new BlackBerry OS version 10?
It wouldn't work if it's written in java. If you used webworks,html5 etc, it will work on os 10
At BlackBerry10Jam London yesterday, it was said on stage that in future RIM aim to offer support for apps that ran on previous versions of BB OS. By that I guess they mean they are looking to adapt the Android App support they have for BB 10 (which is in effect a java/dalvik runtime within which you can run some Android apps). No time frames though.

Which blackberry device will support OS 4, 5 and 6?

Hi i need to buy a blackberry to test my applications. I want to buy a device which supports more OS versions (I will be happy if it supports all versions). Which Blackberry device will supports OS 4, 5 and 6 ?? can any one help ??
BlackBerry devices only ever tend to support two major OS releases so you're out of luck trying to run all three on any one handset.
If you can only buy one handset then I suggest you buy one the later ones. This is because a phone running OS7 can also run applications written for OS6,5,4.5 etc
There are still quirks you will run into, but even the two phones running the same OS may function differently. E.g. if the internal storage is based on a microsd card or not.
RIM has done an excellent job of providing simulators for every type of phone so in the first instance you can download and try these.
If you run into a problem that's specific to one device and you cannot replicate it on the simulator then another option is to subscribe to services like DeviceAnywhere
In my opinion if you are designing a UI it's essential to be able to test touchscreen and trackball devices. Therefore I suggest the Torch or Bold 9900 as be good candidates for you as they can do both.
There is no BlackBerry device that supports all versions: OS 4.x and OS 5 and OS 6.

How to develop an iphone application on Windows OS?

How to develop an iPhone application without using Mac OS?
Is it possible to develop an application on Windows XP?
You will need a mac to develop for iOS devices. Here is a quote from the Apple website with the specifics:
To develop with iOS SDK and participate in the iOS Developer Program you must have an Intel-based Mac running Mac OS X Snow Leopard. Refer to the iOS SDK Read Me document for full details on system requirements. You must be registered as an Apple Developer in order to access the iOS SDK and iOS SDK Read Me document.
You can read the full details on the Apple iOS dev site here.

Resources