
Developer Quick Start
This guide walks you through the steps to implement the BlackBerry library.
• Get the SDK
• Add the SDK to your Project
• Update The ADBMobileConfig.json Config File
Get the SDK
The SDK requires BlackBerry 10 or later
After unzipping the downloaded SDK, you'll have the following files in an AdobeMobile folder:
• Device-Coverage/libADBMobileShared.so
• Device-Debug/libADBMobileShared.so
• Device-Profile/libADBMobileShared.so
• Device-Release/libADBMobileShared.so
• public/ADBMediaAnalytics.hpp
• public/ADBMediaSharedHeader.hpp
• public/ADBMediaState.hpp
• public/ADBMobile.hpp
• Simulator-Coverage/libADBMobileShared.so
• Simulator-Debug/libADBMobileShared.so
• Simulator-Profile/libADBMobileShared.so
Add the SDK to your Project
1. Right-click on your project and select "Configure > Add Library.
2. Select External library and click Next.
3. Click Browse next to theDevice library field.
4. Navigate to the ADBMobile-4.0.0BETA-BlackBerry folder.
5. In the Device-Debug folder, select libADBMobileShared.so and click Open.
6. Click Browse next to theSimulator library field.
7. Navigate to the ADBMobile-4.0.0BETA-BlackBerry folder.
8. In the Device-Debug folder, select libADBMobileShared.so and click Open.
9. Click Add next to theInclude folders field.
10. Navigate to the ADBMobile-4.0.0BETA-BlackBerry folder.
11. Add the public folder to your includes.
12. In the ADBMobile-4.0.0BETA-BlackBerry folder, there is a .json config file named ADBMobileConfig.json.
Copy that file into the root of your project.
13. Right-click on your project and select Refresh. The .json file should now be visible in your Project Explorer.
14. Open the bar-descriptor.xml file for your project.
15. At the bottom of the window select the Assets tab.
16. Confirm that (All Configurations) is selected, then click the Add Files in the Assets section of the window.
(Note, there is a bug in the QNX Momentics IDE that sometimes prevents those buttons from being visible. If
you can't see the buttons, resize the windows until they appear).
17. Click the Workspace button.
18. Find the ADBMobileConfig.json file in your project and click OK.
Your application can import the classes/interfaces from the adobeMobileLibrary.jar library by using #include
<ADBMobile.hpp>.
4Developer Quick Start
Comentários a estes Manuais