[TIMOB-14467] BlackBerry: Tibbtest project needs to be enhanced to allow the running and debugging of native modules
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-25T22:51:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | BlackBerry |
Labels | blackberry, qe-3.1.2, qe-testadded |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2013-07-02T18:30:16.000+0000 |
Updated | 2014-06-19T12:43:51.000+0000 |
Description
Test:
1) Import native module into Momentics.
2) Edit common.mk to have your static module in the search path and named.
3) Edit main.cpp to register the module.
3) Create an app.js file that requires in the module. You should be able to debug the module.
git: https://github.com/appcelerator/titanium_mobile_blackberry/pull/133
Test by following the instruction in the GitHub repo. - Create Native Module: By running the module create command will you generate a stub BlackBerry module including documentation that you can use as a starting point to building your own Titanium BlackBerry extension. The project created is to be used by the QNX Momentics IDE (QDE). The IDE should have been installed when you installed the BlackBerry NDK. titanium create -p blackberry --id
Verified the fix & it works as expected.Thus closing. Environment: Appcel Studio : 3.1.2.201308091728 Ti SDK : 3.1.2.v20130812225629 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88