
Add App Permissions
In bar-descriptor.xml in the project directory, add the line <permission>access_internet</permission>, or
in the QNX Momentics IDE, check the box for Internet in the permissions section of the Application tab.
Update The ADBMobileConfig.json Config File
The ADBMobileConfig.json file contains global SDK settings.You need to update a few values to get started.
The following is an example of an ADBMobileConfig.json file:
{
"version" : "1.0",
"analytics" : {
"rsids" : "coolApp",
"server" : "my.CoolApp.com",
"charset" : "UTF-8",
"ssl" : false,
"offlineEnabled" : true,
"lifecycleTimeout" : 5,
"privacyDefault" : "optedin",
}
}
At a minimum, update the rsids and server parameters.
For more details, see ADBMobileConfig.json Config File Reference.
That's it! You're now ready to implement Analytics in your BlackBerry 10 app.
Where to go from here:
• Adobe Mobile Class and Method Reference
• Analytics
5Developer Quick Start
Komentáře k této Příručce