Blackberry OS version limit - blackberry

Is there a OS version limit to accept blackberry push, or for JSON parsing.
for example, BB OS version 5.0 and above or 6.0 and above.
I have BB device 6.0 and my app works fine on it, can someone please tell me, if my application will work on OS 5.0 too?
My application also contains, push notification, http connection and json parsing.
Please help!!!

BIS Push will work the same way. OS 6.0 added a JSON parser, so if your code depends on that, you will have to bring in a third-party JSON parser, and make use of it, in order to build against OS5.

For 6.0 and above JSON API is added in SDK , but for lower versions check this link download the library from that link

Related

How to know latest ios version available programatically in swift?

Is there any way we can find out the latest ios version available on device programmatically. Like latest ios version now is 12.2
As per Apple API list you can check latest iOS version with below command. You have to run this command in terminal.
curl -L http://phobos.apple.com./version
You will get all information about the all versions.
There is no way to find the latest iOS version released. It is totally impractical approach because how can UIDevice or Any class know which is the latest iOS was released without updating device operating system.
Now go with other possibilities
There are any apple APIs which provide latest release information?
Unfortunately, There are no such APIs which provide information like this.
Alternatives
You can create custom APIs which is providing the latest release information. Once latest iOS will release then update in server back-end. Then you can check which is the latest iOS version.
I haven't found the solution but I got it from this link: solution
Just call the API
curl -L http://phobos.apple.com./version
and search for the key such as "iPhone10, 1" or whatever device you are looking for. You will find the version under key "Product Version"
<key>ProductVersion</key>
<string>12.3.1</string>

titanium iOS application sometimes show alert "App May Slow Down Your iPhone.."

I create some business application on Appcelerator Studio(sdk version:6.1.0.v20161230103702).
It run iOS simulator(iPhone 7(OS 10.2)),
so sometimes popup "App May Slow Down Your iPhone.." alert.
I wanna prevent this alert.
would appreciate any comments or suggestions.
You might want to take a look at this SO Q&A, this other Q&A, and this third one. There could be something there that you could adapt to Appcelerator Studio.
This alert is supposedly shown for apps developed for the 32 bit architecture.
read here
I wonder though how the ti sdk 6.1.0 would get you this issue.
what Xcode are using ?
Update :
Where did you get that sdk version ?
For production, use one of the GA titanium sdk versions, the latest one (as of the moment of writing this) is at 6.0.2.GA
To install Ti SDKs use this command
appc ti install sdk 6.0.2.GA
If you don't have an appcelerator indie account, you can use this node package tisdk to install new titanium sdk GA releases.
You might be using the latest SDK with the compatible XCode, but are you using any external modules which may not be 64-bit comptible. Can you remove any additional modules, and see if you are getting the error or not. If not, then you need to recompile the modules with the latest SDK or atleast a minimum of 3.5.0.GA from which the 64-bit support was provided.

net_rim_crypto error in blackberry

I'm developing a blackberry application to encode and decode some important information. For this I'm using the net.rim.device.api.crypto.* package in my application. I'm developing in blackberry OS 7.1 simulator but my blackberry device has OS 5.0 . When I try to download the app in my device, it gives me the following error:
"This application requires the following module, which is not installed: net_rim_crypto"
Also I'm not able to use the update site and install previous blackberry Os versions as the installation fails whenever I try to install it.
So, my question is mainly: How can I make my apps backward compatible in this case? Also, I'm not able to install and run my app (mentioned above) on the device. How can I accomplish this? Please help. Thanks in advance.
Please note that BlackBerry apps are not backward compatible, that is to say an app built on OS 7.0 will not work with OS 6.0 or OS 5.0. However, an same app built on OS 5.0 will work on handsets with OS 5.0+. Considering you are developing your app in OS 7.1 simulator indicates you are using BlackBerry JRE 7 and net_rim_crypto that you implemented seem to be missing in OS 5. In order to develop apps for OS 5, please work with JRE 5.

AFNetworking for ios 4.3

Currently I am developing ios apps in 4.3 . I have been using ASIHttprequest for my all Network activities. Now I want to use AFNetworking. My problem is that I can't get the AFNetworking classes for ios 4.3. some blogs given by google search says AFNetworking 0.10 is compatible for ios 4.3 but I can get 1.0 version only.
All I want to know is whether AFNetworking has version compatible for ios 4.3, If so direct me to the link
If you look at the GitHub account for AFNetworking. You should be able to find it. Switch the branch to the correct version (0.10.x) and you will be good.
Anyway, here is the link to the version directly: Version 0.10.x
AFNetworking is stored on Github.
You can get any commit from it's history, for example - you can select any of the tagged states for download from https://github.com/AFNetworking/AFNetworking/tags

net_rim_json_org not found

I have created one application in j2me, I have used json parsing in that application. I can build it SUCCESSFULLY.
Parsing import: C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0/lib/net_rim_api.jar(net_rim_json_org.cod)
BUILD SUCCESSFUL (total time: 1 minute 3 seconds)
But when imported application on blackberry 9000 v5.0, and trying to open it it showing
net_rim_json_org not found
My question is, it's showing that net_rim_api.jar (net_rim_json_org.cod) imported but when I am trying on device its showing error - why is this happening?
I also faced this problem and have managed to solve like as described below.
package org.json.me is built-in in JDE 6.0.0 but not in JDE 5.0.0 or below.
So, you need to add that package yourself.
You can download the package from github.
If you want to write the same code for both JDE 6 and JDE 5 and make your application work on both JDE 6 and JDE 5, then you can rename that package to something like org.json.whatever .... and in your code wherever you need to use org.json.me.JSONArray , org.json.me.JSONObject .... you just use org.json.whatever.JSONArray, org.json.whatever.JSONObject etc. Thus you can make your code JDE-version independent for JSON parsing.
More on json parsing in the SO question "Json parser for Blackberry OS 5"
You have compiled your application with SDK 6.0 and are trying to launch it on device with SDK 5.0
SDK version == JDE version you have used.
Error you get means that device OS ver. 5.0 does not have this library, that exists in device OS ver. 6.0
Note that, if you compile your app with SDK 6.0 it will run properly on devices with OS versions 6.0 and 7.0, but not on devices with OS 5.0 and older.
In you build settings==> order and export, you are exporting that library or not. If not then please check the checkbox and your application works fine

Resources