Support lower Versions in 10 SDK - blackberry

I am developing a small application on Blackberry 10 SDK. I want my app to be available on OS Version 6,7 and 10.
Now that i am using SDK 10 how can i support OS version 6 and 7 for the same app.
What do I need to do in that. Are there any image changes for that versions?

"BlackBerry 10" and "BlackBerry 7, 6, and older" are different platforms.
HTML5/JavaScript applications can be compatible between BB 10 and older BB devices. But it is source code compatibility, it is not binary code compatibility.
You will need at least two compiled versions of your HTML5/JavaScript. One - for BB10, another for BB7 and older devices.
Get WebWorks for BB7 and older devices here:
http://developer.blackberry.com/html5/download/#smartphones
WebWorks for BB10 is available here:
http://developer.blackberry.com/html5/download/#blackberry10

Related

Which swift version for iOS 7+

I'm new to iOS development, trying to develop an application.
Once I've seen in these statistics that iOS 7 has a really small market share I decided to support iOS 7 or higher in a way to make an app to all iphone OS available in the market. I also decided to use swift as code language but not sure which swift version should I choose.
Which swift version should I choose for iOS 7 or higher development?
Apple states that
Starting July 2018, all iOS app updates submitted to the App Store must be built with the iOS 11 SDK and must support the Super Retina
display of iPhone X.
(The same requirement for new apps started on April 2018.)
So, your choice are very few, Xcode 9 (with iOS 11 SDK) or Xcode 10 (with iOS 12 SDK).
(I believe we should read the requirement as iOS11 SDK or later.)
And supporting iOS 7 with Xcode 9/10 is very difficult. (I do not know if it is possible or not.) Deployment Target does not accept versions less than 8.0 (*), and iOS 7 Simulators are not provided.
(*) Some versions of Xcode replaces versions less than 7.0 to 8.0, even if I entered the version number manually. And at least, both Xcode versions does not show 7.x in the popup menu of the Deployment Target.
I recommend you to use the latest released version of Xcode (10, which comes with Swift 4.2), and make your minimum supported version to iOS 8.0 or later.
The Swift application will work only on iOS 7+. The Xcode will add the Swift library to every build so, you can use any version of Swift language and all of them will work on all iOS starting from 7th. Apps created with Swift will run on iOS 7+ and Mac OS 10.9 +
so use the latest version always.
You have to use the latest swift version Swift 4.2
As iOS 12 is out now so you have to use iOS 10 and above because we should support recent 3 versions.
Images source
If you target iOS 10 and above then you hit the 95% users

Delphi 10.1 berlin multiple ios SDKs

I have latest delphi and xcode etc running iphone sdk 10.2. Is there a way to setup a new platform and build to say ios 9? My list of sdks only shows 10.2. Not sure about supporting olders phones etc
You do not need to install earlier versions of SDK. The application compiled with Delphi Berlin will work at all versions of iOS, as stated in Options/Delphi Compiler/Linking/Minimum iOS version supported.
FMX library will work with iOS API 8..10 (there are some checks for version in source code - look for "TOSVersion.Check"). So as long as you will not use any extra iOS API "by hand", it will work for all devices running iOS 8..10. It is also possible, that basic applications will work for earlier versions, but it is of course unsupported.
For iOS 10 remember about extra security-related settings: http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page
Summary: you do not need separate SDK nor extra version of the app for different iOS versions.
Remark about iOS development: in fact, xcode 8 also limits the target to iOS>=8, while you can setup it regardless of SDK in the project options in range 8..10. It is possible to force xcode 8 to compile and link against iOS 7 devices, but it is very hard to test and deploy, thus useless.

Firemonkey application developed through RAD Studio 10.0 is crashing on iOS 7.1?

I have an application to which I have released on http://www.diawi.com/index.php for the testers, but it isn't launching on IOS 7.1 devices. I have set the minimum deployment target as IOS 7.1, but my base sdk is IOS 9. It is launching fine on iOS 8 and iOS 9. what could be the reason? Is there no support for iOS versions less than 8.0 on Delphi 10 Seattle?
Per Embarcadero's documentation:
Adding a Mac OS X or iOS SDK
Notes:
RAD Studio does not support versions of the iOS SDK lower than 8.0.
iOS applications built with a given SDK version may only run on that version or later versions of iOS. For example, an application built with version 9 of the iOS SDK might crash on a device running iOS 8.
Based on that, the following documentation seems to have a contradiction:
FireMonkey Platform Prerequisites
The following iOS devices are supported:
iPod Touch, iPhone, or iPad
iOS 7
iOS 8
iOS 9
For iOS application development, you need to have installed on the Mac:
iOS 8 SDK or iOS 9 SDK
Xcode 6 or Xcode 7, see Installing Xcode
This suggests they support iOS 7 devices, but do not support the iOS 7 SDK.
However, there are Delphi forum discussions that claim you can use xCode 6.4 and the iOS 8.4 SDK to target iOS 7 and 8 in Delphi Seattle. And there is this Embarcadero blog post that supports that claim, and points to a Hotfix for Seattle that allows Delphi to use the iOS 9 SDK to target iOS 7 and 8.
Do you have that hotfix installed?

Install COD file on BlackBerry OS 10

I have developed BlackBerry Apps using Java SDK till BBOS 10 got released. But the recent BBOS 10 released doesn't provide Java SDK platform for developing the applications.
So is there any way that I can run my previously developed applications(using Java SDK 5.0,6.0,7.0,7.1) on the BBOS 10 simulator/device.
Is BlackBerry on the process of releasing the Java SDK in the near future.??
Thanks.
If you wrote WebWorks application then you could recompile it to BB 10. Otherwise there is no chance to run your app on the BB 10. Unfortunately!

iOS 6 APIs and backwards compatibility

Can I use APIs and Frameworks introduced in iOS 6 in an app that supports earlier iOS versions?
Is this only possible through workarounds and code such as:
[[UIDevice currentDevice] systemVersion]
Or would I be able to use updated frameworks, APIs, etc. in an app that supports earlier versions of iOS without specifying the version?
And also, would I be able to use Xcode 4.5, or would I have to stick to the current public release?
You can't ship an app that uses iOS 6 features at all until the OS and toolchain go final. (Update: The iOS 6 OS and SDK are now final.)
At that point, you should use the iOS 6 SDK and set your deployment target to an earlier version of iOS 5. You will not check the system version, but rather weak link the new frameworks, and test for the presence of specific classes or methods before using them, etc.
One extra wrinkle is that with the iOS 6 tools and SDK you can no longer support armv6 devices. You can support the iPhone 3GS and later, as well as every model of the iPad, but not the iPhone 3G and the original iPhone. But even with a legacy app, you shouldn't be targeting these anymore.
References:
SDK Compatibility Guide: "Read this document if you want your application to target a specific version or multiple versions of iOS or Mac OS X."

Resources