I'm trying to make a Blackberry Java app with the Blackberry Java SDK 5.0 (http://us.blackberry.com/developers/javaappdev/) which starts an instance of Blackberry WebWorks within the app. How can I do this?
The final aim is to then load PhoneGap API into this instance. But that's a problem for later.
Related
I want to develope phonegap app for BB OS7 and earlier but need to get webworks sdk. Blackberry website has only for BB 10. Is webworks for BB10 also support other versions ? if not where to get older versions ?
Here is the page, where you can download Webworks SDK for BlackBerry OS (RIM OS):
http://developer.blackberry.com/bbos/html5/download/
This may be a super late answer, but it's not recommended to use Phonegap for anything < BB10. I would use the webworks sdk natively - it's not much different from phonegap and you can pretty much have both formats in one project with separate config.xml files if your app doesn't rely a lot on hardware interaction. I recently built a simple application and on Blackberry OS6 the phonegap version would barely run but the webworks version works great.
although very late but think it might help. Developing for blackberry using webworks
I am developing an image-scanning application for BlackBerry. The application takes the user to a success page if the correct image is scanned and a failure page is shown on scanning an incorrect image.
I am using the IBM Worklight framework for developing this app.
My question is: How can I open camera for scanning in BlackBerry?
I have developed the same application for iOS using Worklight. In iOS I've used this JavaScript syntax:
WL.native.show(arg1, arg2, arg3);
So I want to know what will be the syntax for opening camera/native page in the case of BlackBerry.
Just to make things clearer, you do not use WL.NativePage.show in order to use the camera in an iOS device. For that you use the Camera API provided by Apache Cordova.
WL.NativePage.show is meant to transition from a WebView to a native page.
You can, however, of course, use it to pass parameters and do whatever you want on the native side and then return to the WebView...
WL.NativePage.show is available only for iOS and Android.
Anyway,
In BlackBerry WebWorks apps (the type of BlackBerry apps supported in Worklight) you have several options:
Use the Camera API provided by BlackBerry
Use the Camera API provided by Apache Cordova
Worklight currently supports Cordova 2.3 (in Worklight 5.0.6.x) and Cordova 2.6 (in Worklight 6.0).
I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error:
Unsupported for this device
Please help me how to run application in OS 10.
Thanks in Advance.
OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms:
http://developer.blackberry.com/develop/platform_choice/index.html
Cascades (c++ & qml)
Webworks
Android
Adobe Air
With WebWorks it is possible to run your application in both BlackBerry 6 and BlackBerry 10, you may need to make some changes to your code, but it is certainly possible and there are plenty of resources available.
You can start from here.
Specifically BlackBerry states:
Your BlackBerry WebWorks app can be targeted to run on a variety of
BlackBerry device models or ported to a different OS, such as iOS or
Android.
Developing your app with BlackBerry WebWorks gives you the flexibility
to target users of the latest BlackBerry devices and those who are
using older models. Depending on the OS you want to target, versions
of the BlackBerry WebWorks SDK available for:
BlackBerry 10
BlackBerry PlayBook
BlackBerry 7 and earlier
See here for a tutorial on creating an application which is able to work on old and new BB devices (Simple Hello World application).
A good article to look at can be found here, which explains some of the fundamentals and differences with webworks.
I developing an app where i need to integrate BlackBerry Messenger (BBM) in it. I am developing my app in Blackberry Webworks using Phonegap Plugin. By following the BBM SDK in Blackberry Webworks guide, successfully executed sample app in BlackBerry webworks(without using phonegap plugin). But when i am using it with phonegap plugin not executing properly(getting blank screen). What the doubt raised for me is does BBM supports/works properly using Phonegap Plugin in Blackberry Webworks. When i am using with phonegap plugin it is showing only loading symbol & nothing more on screen.
Can we use BlackBerry Messenger(BBM) with PhonePlugin in BlackBerry WebWorks...
Can anyone please help me with this.
Thanks in advance....
The BBM SDK is supported in BlackBerry WebWorks platform. How ever, I am not sure whether the third party applications such as Phonegap has the support to BBM SDK. You need to confirm this with Phone Gap.
hi all blackberry device application is working on blackberry playbook tablet ?
Blackberry playbook is totally different than Blackberry Smartphone. For application development current Blackberry Playbook comes with ADOBE AIR SDK . In future they will support (some articles says that) both Android and JavaME apps . As of now J2ME applications will not work on Blackberry Playbook.
Please read more about it at http://us.blackberry.com/developers/tablet/adobe.jsp
http://press.rim.com/release.jsp?id=4935