Using the BlackBerry 10 APIs
There are a variety of APIs that you can use to help monetize your app. Across all the BlackBerry 10 SDKs, these APIs fall under the categories of advertising, payment, and social features that allow users to discover, purchase, and talk about your app. Let's take a look at the BlackBerry 10 Native SDK and the core native APIs.
BlackBerry 10 Native SDK - core native APIs
The core native APIs of the BlackBerry 10 Native SDK are designed for apps that are being ported from other platforms or require high-performance and low-level access to the BlackBerry 10 OS.
The core native API Advertising Service is used to display banner ads in your BlackBerry 10 applications. The Advertising Service uses a central web portal where you can add or remove ad networks and adjust the percentage of ad requests that are sent to each network. The Advertising Service supports various ad types that conform to the MMA guidelines for mobile ads.
To display an ad in your application, you create a C file that defines the ad banner, including its size, position, and refresh rate. When your application displays the banner, the remote ad server sends ad content to your application automatically.
For more information about the Advertising Service, see the following:
BBM Social Platform
The BBM Social Platform provides an interface to features of BlackBerry Messenger such as user profiles, contact lists, messaging, and customizable profile boxes for your app. For more information about developing with the BBM Social Platform, see the following:
The NFC API allows you to take advantage of the Near Field Communication capabilities of BlackBerry 10 devices. This short-range radio technology is used for contactless communication between NFC-enabled devices, tags, or cards. This can be used to transfer information, purchase tickets, pay for goods and services, or any other type of data transaction between two NFC-enabled devices. For more information about the NFC API, see the following:
The core native API Payment Service is provided by BlackBerry Platform Services. It allows you to initiate the purchase of digital goods and subscriptions from within your app. It also allows you to test the payment service locally without a connection to the BlackBerry World servers.
For more information about the Payment Service under BlackBerry Platform Services, see the following:
The Scoreloop SDK allows you to integrate social gaming features into your app to connect users together. You can use gamification features such as user profiles, leaderboards, challenges, and awards to motivate users to keep visiting your app. For more information about developing with the Scoreloop SDK, see the following: