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

Native Development

Reply
Developer
thett
Posts: 63
Registered: ‎12-16-2011
My Device: Red 10
My Carrier: Mobifone
Accepted Solution

Cascade NDK Beta 3 does not generate app.cpp/hpp anymore

Im learning cascade and follow many helpful tutorials . Almost tutorials mention about the "app.cpp/hpp"

but when creating the new blank cascade project, it does not generate that kind of file in \src\ folder.

Is this new feature of Beta3?

Please use plain text.
Developer
simon_hain
Posts: 15,806
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Cascade NDK Beta 3 does not generate app.cpp/hpp anymore

I think this is a new feature, more or less.
before all projects had the main application class called "app.cpp", and due to the strange refactoring a name change would also apply to other projects.

When i create a new project using the wizard (File, new, Blackberry Cascades Project) the project name is used to create the main application class, for example Lala.hpp/Lala.cpp when i name the project Lala.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
bcs925
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Cascade NDK Beta 3 does not generate app.cpp/hpp anymore

If you happen to be referring to my tutorial (http://bbcascadescode.tumblr.com/post/29294239402/running-c-function-from-qml-trivial-example), I didn't realize I still had the app.cpp and app.hpp references in it.  I have now fixed it.

 

On a general note, app.cpp and app.hpp from Beta1 and 2 became <nameofyourproject>.cpp and <nameofyourproject>.hpp in Beta3.

 

-Brian

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Please use plain text.
Developer
thett
Posts: 63
Registered: ‎12-16-2011
My Device: Red 10
My Carrier: Mobifone

Re: Cascade NDK Beta 3 does not generate app.cpp/hpp anymore

Thanks all. I'm clear and now I keep going with cascade. 

 

By the way, do you have a set of popular BB10 icon images for menu, navigation, settings...?

Please use plain text.
Developer
simon_hain
Posts: 15,806
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Cascade NDK Beta 3 does not generate app.cpp/hpp anymore

Liz Meyer has released a free icon set at http://myersdesign.com/resources/

We are currently asking RIM to provide an official set on their own, as they have one but it is not public.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.