Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
New Developer
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
My Carrier: china mobile
Accepted Solution

html/javascript call ndk

I hope to mainly use html/js developing my app.

but I prefer to assign some intensive computing to ndk.

Just wonder, which language(java/c,c++) do I need to select?

 

Welcome any comment

BlackBerry Development Advisor
Posts: 761
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: html/javascript call ndk

Hello,

 

There are a couple answers here.

 

If you plan on developing for BlackBerry 10, any native extensions you make will be done in C/C++. https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html

 

Example template https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/TEMPLATE

 

If you wish to target BlackBerry OS phones, then you'll be creating Java extensions. https://developer.blackberry.com/html5/documentation/using_javascript_extensions_1866976_11.html

 

Example template https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/TEMPLATE