This is an Air native extension for Flurry analytics on the iOS and Android platforms.
VersionThis is version 0.5.0 of this extension. The compiled extension contains version 4.2.3 of the Flurry Analytics library for iOS and version 3.2.1 of the Flurry Analytics library for Android.
If you wish to use a different version of the Flurry Analytics library, you may do so by following the instructions below to compile the extension.
Binary filesThe bin folder contains the compiled extension and the default swc, which can be used for local testing if required by your development environment (Flash Builder shouldn’t need it, but other IDEs may).
Using the extensionStart a Flurry sessionAt its simplest, you initialize the extension with your application’s identifier as follows
You should only start the session once, after which you can log as many events as you wish.
End a Flurry sessionOn Android, this ends the current session (and sends the accumulated event data to Flurry). On iOS it does nothing, the session automatically ends when your app enters the background.
You may then log events with Flurry like this
You can pass parameters through to a Flurry event via a simple object, as follows
Flurry will also log timed events. This is a two-step process. You first start the timed event.
Then, later, you end the timed event.
You can also log errors with Flurry
That’s just a starter. All the features of the Flurry api have been implemented. Read the documentation in the Actionscript source code for all the features.
DevelopersLicenseThis project is licensed under the BSD license
[attach]546[/attach]
相关链接:
https://github.com/jsaade/ANE-Flurry-Analytics
| 欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/) |