NOTE: This tool is not for earning money, but actually for cross app promotional ads. Also excuse my bad english and writing construction please 🙂
I was building my own Ads System while waiting for some better Ads Services from BlackBerry, so here’s what I’ve built so far.
You can make your own customized ads, unlimited number of ads you want for FREE. You can make an add that will point the user to a an App/Vendor in BlackBerry World, Web Page via Browser, and display a Message in a Dialog.
You can start by making an account and start adding your ads. Navigate to http://nemorystudios.com/advertisements/ . After making the account, you’ll see this Dashboard.
It is preloaded with 2 sample ads and you can now even start to test.
Test with the Sample App
- Download and Import NemAdsServicesExample.zip https://dl.dropboxusercontent.com/u/12267912/NemAdsServicesExample.zip
- In the main.qml > NemAdvertisement (QML Component) : replace userid: 0 with yours seen on your Dashboard.
- Then you can now run the sample 🙂
Integrate it to your existing app:
add this line of code QT += network anywhere in your .PRO file
Copy & Paste Nemory Folder inside src Folder
Copy & Paste nemcomponents folder in your assets folder
in your main.cpp add the codes with the comment // required
#include <src/Nemory/NemAdsController.hpp> // required
#include <src/Nemory/WebImageView.hpp> // required
using namespace bb::cascades;
Q_DECL_EXPORT int main(int argc, char **argv)
qmlRegisterType<NemAdsController>("nemory.Advertisements", 1, 0, "NemAdsController"); // required
qmlRegisterType<WebImageView>("nemory.WebImageView", 1, 0, "WebImageView"); // required
Application app(argc, argv);
in your QML file
Before any code insert this import “nemcomponents”
and insert this code anywhere you want the ad to show. It’s best if it’s under a container with a layout of DockLayout so you can dock it on the very top, very bottom or anywhere you want.
userid: 0 // you can find your userid in the dashboard
refreshInterval: 200 // in seconds
evolutionInterval: 5 // in seconds
You can further customize the ads by colorizing backgrounds, fonts & images, the code is open, play with it. 🙂
I hope you will like it and integrate it to your apps too 🙂