FilePicker alternative for Blackberry OS pre-5.0 - blackberry

FilePicker is supported from Blackberry OS 5.0 and above. Is there any alternate to this class in 4.5/4.6?

You have to code it yourself, but RIM provides a sample: How To Create A File Selection Popup Screen.

Related

zxing barcode scanning library for blackberry

I want to implement the barcode scanner for Blackberry device higher then 5.0. As I am quite new to barcode scanning, I tried to google it and tried searching on stackoverflow. Got few samples, but quite confused.
Can anyone provide me links to get Zxing SDK for blackberry ?
The ZXing project is already built into Blackberry OS 6+. Still you may want to use a later version than the version that is included. You can of course download this from the site at http://code.google.com/p/zxing. BBOS support was discontinued in version 2.0, so you will need to use 1.7.
I think it may help you:
QRCode Implementation In My Blog
If you are not getting the code there then check this link:
barcode-code-scanning for 5.0 and 6.0
Note: It is better to read the conversations in the above link to understand well.

Blackberry 6 to Blackberry 5

I have a Blackberry 6 Application and I want to convert it to Blackberry 5 Application is there any way I can make it
Can I some way use Blackberry 6 library in Blackberry 5 OR I have to do it all over again for Blackberry 5
So you have an app you created for BlackBerry OS6 and now you want it to work on Blackberry OS5 as well.
You cannot use Blackberry OS6 specific libraries in BlackBerry OS5 . There is nothing like a compatibility package like in Android which will allow you to use new APIs on old operating systems. You will have to build your app based on the old OS5 APIs.
Download the Blackberry OS5 JDE and compile your app, it could throw a lot of errors, if not, happy days. If yes, then you need to find third party libraries, or write your own, to create similar functionality in OS5 as well. If you would like to keep the OS6 APIs in your code base, you can use preprocessors to create the binaries for different OS versions.
Using a preprocessor, you can use OS6 APIs for OS6 onwards, and other APIs for OS5 onwards.
You can Compile your code with JRE 5.Then you can use this code in any OS 5,6,7.But you can't use JRE 6 in 5.

qr reader in blackberry example

I am workin on BB app and I need to implement QR reader or scanner into it. I know that RIM supported a library of it in OS6 and in ZXing but actually I need to read an example of how can I implement it within my code.
You can get a clear idea to how to develop a qr code in OS 6.0 From This KB Article
If you Try to develop It in OS 5.0 http://aliirawan-wen.blogspot.com/2011/05/barcode-scanner-for-blackberry-os-50.html will help you.

Will Phonegap current version work on BlackBerry OS version 5?

I am new to mobile development and I was wondering if the applications I develop using phonegap will work correctly on Blackberry OS 5 since they don't support it yet. I won't need any fancy features in my app and wanted to use phonegap to develop for Android, IPhone and Blackberry. But of course I am having problems with the different versions of Blackberry OS just like everyone else.
Thanx.
I had a chance to test this once. I have put my Phonegap application on 5.0 and observed how it behaves. Application has launched properly. But i Observed following issues.
HTML5 is supported but localStorage and sessionStorage is not supported.You need to find an alternative.
HTML Page transition is too slow. End used will certainly not accept the performance.
Few jQueryMobile API's don't work.
You cannot be sure that page will be viewed same as you see in 6.0+. Few elements get distorted.
You need to test each and every UI element and see if it is working proper.For example datepicker displays date on right side of the page instead of left
Few PhoneGap API's don't work or they crash.For example API to launch camera crashes.
After observing above issues i felt that even if phonegap is supported in 5.0 it doesn't make big sense.
Yes, but to run on OS version 4.x you have to target the PhoneGap BlackBerry application, while to run on OS version 5 or 6 you need to target BlackBerry Widgets / WebWorks -- the same application may work on both if you use compatible features, but you'll need two different builds, as though they were two different kinds of phone.
Now the support for earlier versions of BlackBerry has been withdrawn from Cordova 3.0 onwards, which in turn supports BlackBerry 10 only. Refer the following link for more details.
PhoneGap - BlackBerry Support
Thanks,
prodeveloper

Blackberry Platform

Currently i am working on Blackberry JDE 4.3 and i want to know that is there any other platform for Blacberry onwhich we can easily make applications with short time. Such as in Blacberrry JDE, to handle graphics you have to include so many api's and there exists many complexities in the JDE platform.
You can try J2ME API to develop the blackberry application, but its not right platform to over all feature implemented in Blackberry RIM.
Blackberry JDE 5.0 plays vital role in UI and Graphics API,
Try it!!!
have you tried working with blackberry eclipse plugin
i feel it better than the jde

Resources