OE Mobile to Blackberry

Posted by cjohnston on 03-Jul-2013 18:51

Hello,

I recently tried deploying a very simple mobile app from the OE mobile app builder to BlackBerry. First I opened the Android project in Eclipse, then used BlackBerry's plug-in for Android apps to convert to BlackBerry. Even for the simplest app, on my Blackberry 10 device all that shows up when I open the app is a black unresponsive screen. Has anyone experienced any success with deploying to BB as I've described? Note that I've also tried a very simple Android app, developed fully in Eclipse without OE, and deployed it to BlackBerry and it works fine. Any advice would be very helpful.

Cheers,

Cameron

All Replies

Posted by egarcia on 03-Jul-2013 23:09

Hello,

OpenEdge Mobile currently supports iOS and Android.

I have not tested deploying to BlackBerry using the approach that mentioned.

A while ago, I had a similar issue but using PhoneGap directly but it was for an older version of BlackBerry.

Perhaps, a better approach would be to use PhoneGap/Cordova for BlackBerry 10 and then just replace the content of the www subdirectory with the HTML/JS/CSS of your app. You may also need to include the cordova.js file that matches the version this ensures access to API

Note: PhoneGap projects load the HTML/JS/CSS files from a subdirectory called www included in the package.

http://docs.phonegap.com/en/2.9.0/guide_getting-started_blackberry_index.md.html#BlackBerry%20Platform%20Guide

You can obtain the HTML/JS/CSS for your app by doing an Export from the Mobile App Builder as HTML (The APK file also contains the sources).

I hope this helps.

Posted by cjohnston on 04-Jul-2013 11:21

Thank you, I'll definitely give this a try and see how it goes.

Cheers,

Cameron

Posted by John Goodland on 04-Jul-2013 11:25

Thank you for your email.

I am out of the office until Monday 8th July. I will respond to your email as soon as possible on my return.

Please note, that your mail will not be forwarded.

Best regards,

John

Posted by cjohnston on 05-Jul-2013 13:23

EDIT 2: I've followed the instructions on Phonegap's BlackBerry Platform Guide here: http://docs.phonegap.com/en/2.9.0/guide_getting-started_blackberry_index.md.html#BlackBerry%20Platform%20Guide

http://docs.phonegap.com/en/2.9.0/guide_getting-started_blackberry_index.md.html#BlackBerry%20Platform%20GuideI'm being held up by two problems:

1. There is no project.properties file in the blackberry10 directory.

2. In Phonegap's BlackBerry10 readme, I found the command-line command to create a new project is create . the terminal prints "npm cannot be found on the path. Aborting."

Sorry to post the question here, as it really seems to be about Phonegap. It's unfortunate that Phonegap's forums cost at least $250/year to access.

Cheers,

Cameron

This thread is closed