This Marmalade extension was built to provide support for Flurry analytics in your Marmalade-based mobile app.
- Android
- iOS
- Android 3.2.2
- iPhone 4.2.4
- Analytics only
- Clone this whole folder into your project (or add it as a submodule)
- Add "Flurry" to the subprojects section of your MKB file
- Add
#include "Flurry.h"to the source files where it will be used - Refer to the file
Flurry.hfor more information on the supplied functionality
if (FlurryAvailable())
{
s3eFlurryStartSession(YOUR_FLURRY_API_KEY_HERE);
}if (FlurryAvailable())
{
s3eFlurryLogEvent("EVENT_NAME");
}if (FlurryAvailable())
{
s3eFlurryLogEventParams("EVENT_NAME", "KEY1|VALUE1|KEY2|VALUE2|KEY3|VALUE3");
}if (FlurryAvailable())
{
s3eFlurryLogError("ERROR_NAME", "ERROR_MESSAGE");
}if (FlurryAvailable())
{
s3eFlurryEndSession();
}- Flurry's API supports a maximum of 10 parameters per event as of this writing.
- In order to correctly get full statistics on Android, call
s3eFlurryEndSession()onS3E_DEVICE_PAUSEands3eFlurryStartSession(YOUR_FLURRY_API_KEY_HERE)again onS3E_DEVICE_UNPAUSE