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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
arachide
Posts: 37
Registered: ‎07-22-2012
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

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 410
Registered: ‎10-01-2009
My Carrier: Bell

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

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.