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
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor
Accepted Solution

Accessing custom written C/C++ native code

Somewhere I read that the "Native" environment is sort of available in Web Works. I have a function that has to be written in C/C++, presumably using the Native development platform. I guess calling it would be using  the same method as calling an API (JavaScript). What are the basic steps for setting it up and other possible things to think of?

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Accessing custom written C/C++ native code

You want to look at this which is a template for native BB10 extensions




Click the like button if you find my posts useful!
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Accessing custom written C/C++ native code

Thanks. Perfect!

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Accessing custom written C/C++ native code

I've spent all day trying to get a PlayBook one working

 

There's missing documentation as to how to link my (hopefully working) ANE into WebWorks Smiley Sad

 

The template for that stuff only goes as far as the AS file which is frustrating - there's some silly little missing link I can't find ...

 




Click the like button if you find my posts useful!
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Accessing custom written C/C++ native code

Its like a friend to me use to say.

 

"You dont have to keep calm for a second"

 

Please post any progress  :-)

 

I have some basic setups to perform. Currently only have the "native" dev platform installed

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-