10-08-2012 12:56 PM
Hello forum. I wanted to get my hands on the example on advertising service and cascades but the example is missing.
it says download to get a zip file but instead there is a link to cascades github but the adv app is nowhere there.
can i find it elsewhere?
Solved! Go to Solution.
10-15-2012 08:36 AM
I reported the missing file to the docs team and they are working to fix the page with updated information that does not rely on the sample. If you have any issues getting Advertising working without the sample please let me know.
10-15-2012 09:55 AM
You don't need to be an expert with Cascades, the actual Banner implementation is very simplified and most of what you need is displayed right in the docs.
Have you used the Advertising Service for WebWorks or Java in the past? It's very similar.
10-15-2012 10:17 AM
ok. I try to follow the directions in the documentation. After fixing a typo in the qml file, and after importing the library, and giving all permisions i get the following error when trying to run on the dev alpha.
Error: Invalid asset path "libcascadesadvertisement.so"
I am not familiar with the advertising sdk yet. just experimenting with this one.
10-15-2012 11:15 AM
app->configure->add library->Standard BlackBerry Platform Library->Blackberry Cascades Ad API
You shouldn't do that, just add to the .PRO file
10-15-2012 11:52 AM
Ok, one more thing, add the following line to your main.cpp file near the top of the main method:
This registers "Banner" so it can be used from QML. You will also need to add an include for Banner:
ex #include <bb/cascades/Banner>