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
Related
I have built a Blackberry for simulator 9900 (BlackBerry 7 OS), and want to run it on BlackBerry device which have BlackBerry 6 OS.
So if any body have idea how to do it, please provide the solution.
Running applications compiled for a later version of the OS on an earlier version is not supported. Typically this will fail when you attempt to run it because there are API's missing, but even if the application only uses APIs that are available in both levels, it is not supported.
So your only option is the install the OS 6 level of the JRE in your Eclipse, change the project to use that for compilation and build a version using the OS 6 JRE. This build will then run on both OS 6 and OS 7.
If you have used OS 7 level only APIs and these are essential to your app so you wish to retain them in the OS 7 version (obviously you can't use them in OS 6), then you will need to find some way to build the OS 7 and OS 6 versions separately, and not use the OS 7 APIs in your OS 6 build. The easiest approach that I am aware of is to use the pre-processor. But other people have developed other approaches depending on how they have automated the build.
You might be asking a different question, which is, how do you actually target a different Simulator? To do this, look at your Run or Debug configuration (under the Run menu item) and select the Simulator tab, That will enable you to choose another Simulator. The OS 6 JRE comes with some Simulators and you can download more:
http://us.blackberry.com/sites/developers/resources/simulators.html
Or you might be asking how to put the application on a device in general? There are a number of options to do this, as explained on this page:
http://developer.blackberry.com/bbos/java/documentation/package_distribute_apps_2006593_11.html
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'm trying to write an app for my own use on my iPhone (iOS 6.0). Unfortunately I'm also traveling with my OSX 10.5 laptop with Xcode 3.1.4 loaded. Is there any way to run an app built with this xcode on my iPhone? I don't need any feature from a recent iOS and there are plenty of old apps that run just fine and were probably developed with old Xcode versions, but I always get an amber button indicating the iPhone iOS isn't supported when I hit build and run.
The oldest version of xcode that can develop for iOS 6 is xcode 4.5, and for running xcode 4.5 you need to have MAC OS 10.7.4 or later version
Sorry man, You can't.
You need Xcode4 and Lion for iOS6 development.
EDIT:
Now(2014 AD) Apple doesn't allow any app developed using below Xcode 5, so you need to have Xcode 5.
No. To develop for a modern iPhone, you need an Intel mac, and I doubt that a laptop with 10.5 is an Intel Mac (or that 10.5 even supports x86). Also, Xcode versions are correlated to API versions, if you haven't noticed, so even if possible, you'd probably only be able to use the 3.0 APIs, which are now not even usable because of the multitasking introduced in 4.0.
Short answer: No.
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 am running Mac Tiger on my VMware, trying to install iphone SDK and Xcode, and then I found out I have to have leopard in order to be able to develop for Iphone. I was wondering is there any Iphone SDK and Xcode for MAc Tiger 10.4 ??? many thanks
Apple stopped supporting Mac OS 10.4 quite a long time ago. In fact, new iPhone 3.2 SDK is available only for Mac OS 10.6. So you'd either have to get a newer version of the system, or search for older SDK over the Internet (some third party sites can still host it).
The 10.5.x version is still available on Apple's developer connection, however it's SDK 3.1.3 only.
Hope this was helpful, Paul