Is it necessary to write different versions of Blackberry applications for different devices? For example, I have an application "MyApp", and I need it to run on different devices:
9700 - MyApp v1
9550 - MyApp v2
Can I write one MyApp for both devices?
That depends on if you want your application to take advantage of specific properties of the devicies or facilities available with the OS version supported on the device. The 9550, for example, is a touch device while the 9700 isn't. There are two broad strategies: 1) write your application to the lowest common denominator (OS and hardware0; 2) write you application to make maximum use of the facilities available on each supported device. So, yes, you can write one MyApp for both devices if that satisfies your goals and users.
Related
Is it possible to run iOS Apps DIRECTLY on Mac OS? What about Windows? Or do you always have to use a virtual machine? I searched around and all I found was people saying you need to use a virtual machine. Reason for this: I want to automate behavior on an app on my iphone, and I think that will be much faster on my PC.
The iOS SDK accesses the hardware of the iPhone/iPad. It's very specific hardware which is not available on any other device.
The CPU is different, the display, device buttons, sensors and phone specific stuff...
The simulator simulates all this hardware, still it needs a different compile and can not execute the iOS bundle as it does not simulate the Arm CPU architecture.
That said, it does not make much sense to do automated test on another platform than the target platform, as the app might have slightly different errors and behavior.
First of all, I'm not a Blackberry user. I have made a blackberry application for 7.0+ OS Versions. From the start I tested the app on Blackberry 9900 Bold Simulator and same device (Same device provided by the company). So didn't really check the application in other blackberry device. But now I am given another resolution BB device and all the GUI stuff is disturbed.
What should I do now?
One way is that I should check the resolution and Display.getHorizontalResolution() and Display.getVerticalResolution() and make GUI's accordingly but since I have 20+ screens I won't be doing this.
If you have any generic solution please provide.
Use embedded Eclipse plugin preprocessor or Antenna preprocessor for conditional compilation with BlackBerry Ant Tools to generate different application files for different target OS-es, and/or different target devices.
Consider Alx-task to generate alx (application descriptor file) that supports different platforms/OS-es.
Also check this article. It will help with your task.
We can specify which iOS version our app supports, is there a way to specify which iOS hardware our app supports? (for example, iPad 2 and up)
No, not directly. But, I believe you can specify the product family (iPhone vs. iPad), as well as the required device capabilities (e.g. camera, etc.). The combination these two effectively accomplish what you're looking for, though. See Declaring the Required Device Capabilities in the iOS App Programming Guide.
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.
I am deciding between which library to use for development: jQuery Mobile or Sencha Touch. The application I am building will specifically target enterprise (Fortune 500) BlackBerries. The application will not require any hardware features, but the user experience/UI rendering should be as good as possible.
I am not familiar with BlackBerry OS adoption/upgrade statistics so I don't know what platform is my lowest common denominator. Are most enterprise users on BlackBerry 6+ or 5+ or 4+? I just don't know and I don't know where to find those statistics. What is your recommendation?
In my opinion the first step should be studying the audience of your future application.
What model do they use, do they use the most recent models, or they tend to keep working with old models.
The main point is that RIM stops releasing device software for old BlackBerry models.
For instance for BlackBerry 8800 the most recent available device OS version is 4.5
But your customer may have a lot of empolyees who use this device.
Devices with device OS version 4+, but before 5.0, do not work properly with complex html/javascript pages.
In version 5.0 there was implemented better support for complex html/javascript functionality in your applications.
Conclusion: If your potential customers are not using old devices, then start supporting device OS versions 5+, otherwise use SDK version 4.x according to the target devices.
As best practice, I would jump into learning and developing for the latest Operating System, which would be 6. I know all of our customers are working on Bolds a Torches, which means they'd be using 6.
http://en.wikipedia.org/wiki/BlackBerry#Operating_system
Additionally, I would look into creating Adobe AIR applications. They work for Application 6 and Playbooks as well.
http://us.blackberry.com/developers/started/bbdevapproach.jsp
You will likely found RIM's own "Choosing a target OS" page helpful. It has stats on current active devices as well as narrowing down to those devices that use the AppWorld.