Blackberry 10 Webworks with Worklight - ibm-mobilefirst

We are starting a BlackBerry 10 project using version 6.0.0.2 of IBM Worklight, following official product documentation.
The docs about the building and running of the app refer to Webworks 1.x and Ripple.
Unfortunately I cannot find a way to make Ripple works with our Blackberry 10 project because we cannot start the Ripple services.
In order to run the app we are following these steps:
Zip the www folder of the Blackberry10 generated project (www.zip)
build the project in debug mode using webworks from command line
bbwp www.zip
After plugging a device or a simulator and installed the debug key on the device I run
blackberry-deploy -installApp -device <devie/simulator_IP> -package <BAR_file>
Is there a smarter way to build and run the app?
What could be the reason why we cannot start Ripple?
I'm using webworks v 1.0.4.11 with IBM workligh 6.0.0.2
Is there a workaround to make our IBM Worklight 6.0.0.2 project run using Webworks 2.x?
Pointing WEBWORKS_HOME env variable to the Webworks 2.1 SDK folder we cannot build the Blackberry 10 environment.
Thank you in advance for your help.

Worklight does not currently support WebWorkbs 2.0 together with BlackBerry 10.
If you'd like to try so anyway, you can follow this blog post containing instructions:
Worklight BlackBerry10 project with WebWorks SDK 2.0

Related

MobileFirst 7.1 build all environment is not creating android folder

i have created the sample app 0n mobilefirst 7.1 with mac 10.12.5 java 1.8 eclipse mars, once i have created project added the android and ios environment after done build all environment ,ideally it should create separate android folder for that but its not creating any separate android folder , please any solution really appreciated
The most likely cause of the issue is missing "Android Developer Tools" Plugin in your Eclipse. This is required to create the Android native project, when you add Android environment.
Verify its installation.

How to install IBM mobile first platform studio 8.0 in eclipse Mars?

I am new to IBM mobile first.I have installed eclipse Mars and also installed Mobile First platform 8.0 and Eclipse Hybrid Mobile (THyM) from Eclipse market place.Then installed node js.
Now I want to create a app and run in android device or emulator.But I am unable to do it.
Can anyone provide me the next steps I have to follow to work with IBM mobile first
?
System environment : Windows 7,Eclipse Mars, Java 1.8
You are missing the final piece - the MobileFirst CLI. Install the CLI from command line: npm install -g mfpdev-cli.
The MobileFirst CLI is required for the MobileFirst Eclipse plug-in to function. The plug-in exposes CLI commands in the Eclipse UI.
You can then create applications and register them in the MobileFirst Server and other actions. Learn more in the following tutorial: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/using-the-mfpf-sdk/using-mobilefirst-cli-in-eclipse/

IBMApplicationCenter.apk fails to install on Android 5.1

I have MobileFirst 7.1 installed and I downloaded the IBMApplicationCenter.apk onto Android 5.1 phone. When I install it says "app not installed".
I set "allow unknown sources" and searched for any previous apps. How else can I debug this .. or is this version of the apk too old ?
From the phrasing of your question it does seem like you are using an incompatible version?
As part of the Application Center installation you have the AppCenter source - an Android project. You need to build that project into an .apk and you need to make sure that your development environment supports Android 5.1 - the configuration in AndroidManifest.xml.
What have you configured?

Worklight 6.1 - Error on Blackberry 10

I'm using Worklight Studio 6.1.0.00-20131219-1900 and trying to build an app for Blackberry 10
I create a new Worklight app (no customizations other than adding the blackberry 10 environment), run it on the Worklight server, and use ripple to build and deploy to the blackberry 10 simulator.
The app installs on the simulator, But when it launches, I immediately get a JavaScript error:
[ERROR] Error initializing Cordova: Extension Device not found
This is possibly related to a problem seen with Cordova 3.1 (see: Error initializing cordova: Extension device not found in PhoneGap 2.9.0 and blackberry10 webworks application) but I'm not seeing any solutions.
Is there any way to get Worklight 6.1 apps to work on Blackberry 10?
My guess is that your issue is mentioned in infocenter
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdevref%2Ft_creating_a_new_ibm_BlackBerry_10_environment.html
basically, did you do the "ant qnx copy-extensions" command ?

IBM Worklight 6.0 - "WebWorks SDK source file was not found" error

I am using Worklight 6 on Mac OS, and I installed WebWorks SDK 2.3.1.5.
I have got some issues with WEBWORKS_HOME environment variable, that I fixed after reading IBM Worklight - Mac - "'WEBWORKS_HOME' environment variable is undefined"
Now I am having the error
WebWorks SDK source file was not found. Make sure to set it in
application-decsriptor.xml: Replace it with path to WebWorks SDK
When I try to build the Blackberry app.
When I check my application descriptor, I only see
<blackberry10 version="1.0"/>
Should I add something to Blackberry app in the application descriptor? or what shall I do to fix the error?
You've installed the wrong SDK.
For BlackBerry 6 and 7, use: https://developer.blackberry.com/bbos/html5/downloads/?os=mac#smartphones
For BlackBerry 10, use: https://developer.blackberry.com/html5/downloads/?os=mac#blackberry10
Make sure that the WEBWORKS_HOME variable path points to that of the BlackBerry 10 SDK.