I would like to know, is it possible to load font (.ttf file from resource) in Blackberry OS 4.6? I did it in BB OS 5.0 using FontManager class like to port application for 4.6 too.
Thanks and Regards
Anish
For OS versions prior to 5.0 is not possible.
Related
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.
I have vmware running OS X 10.6, therefore had do download xcode 4.2 because 4.5 was incompatible with OS X 10.6. And now it seems I cant create an .ipa file from the app I built bc my iphone has iOS 6.
Is there a work around for all of this so i can create an the .ipa file using my ios6 device?
I don't think xCode 4.2 is able to build iOS6 IPAs.
Since iOS 6 introduces some new features like auto-layout, which is only available in xCode 4.5
So I recommend you upgrade your OS to use xCode 4.5 instead, which is also recommended by Apple that the developer should use the lastest OS X.
I have an idea of developing for Blackbery using WebWorks,But from which OS does the WebWorks will be suitable.I know that WebWorks is suited for 5.0 OS and above.
But in 5.0 itself when developing using java development,i was not able to show google maps using javascript in web page (browser field) in 5.0 ,but it shows route map in 6.0 but hangs while loading,in 7.0 Os,it is Ok,
So While i face similar sort of issues while developing using WebWorks.
I am not a web developer,I dont have teh idea over this Web development stuffs.
yes it's available for OS 5 and above
developing in WebWorks can fully support javascript.
but it may show some lags and bugs at OS 5 , but it wrok fine with OS 6 and 7
Most of the features are not supported in os 5 and 6 so from os 7 the webworks is suaitable for development.
e.g. Videoplayer and InAppPurchase is not supported in os 5 and 6.
I have developed application for BlackBerry OS 5 and now I want to port it to BB OS 6
While porting app, I am facing following issue --
I have added separate org.json.me package in OS 5 which is inbuilt in OS 6
When I add BB OS 6 library instead of OS 5 in the app it gives me error
Please suggest possible solution to run same app on both platforms
You can rename the package name of your json package to com.yourcompany.json instead of leaving it as org.json.me. This is a simple solution to your problem, there might be better solutions as well.
I have got answer to my question
I used BlackBerry OS 5 library to compile my application which is running excellent in OS 6 device also
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