This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) videoDidFinish:(NSString *)adSpace{ | |
NSLog(@"Ad Space [%@] Video Did Finish", adSpace); | |
// Grant the reward here. | |
// The amount is the same for all user for all videos watched | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onVideoCompleted(String arg0) { | |
Log.d(kLogTag, "onVideoCompleted("+arg0+")"); | |
// For client side rewarded ad spaces, grant the reward here. | |
// The amount is the same for all user for all videos watched | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Capture author info & user status | |
Map<String, String> articleParams = new HashMap<String, String>(); | |
articleParams.put("Author", "John Q"); | |
articleParams.put("User_Status", "Registered"); | |
FlurryAgent.logEvent("Article_Read", articleParams, true); | |
// In a function that captures when a user navigates away from article |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Capture author info & user status | |
Map<String, String> articleParams = new HashMap<String, String>(); | |
articleParams.put("Author", "John Q"); | |
articleParams.put("User_Status", "Registered"); | |
FlurryAgent.logEvent("Article_Read", articleParams); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FlurryAgent.logEvent("Article_Read"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.flurry.mediated.admob" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="10" | |
android:targetSdkVersion="17" /> | |
<uses-permission android:name="android.permission.INTERNET" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.flurry.android.FlurryAgent; | |
@Override | |
protected void onStart() | |
{ | |
super.onStart(); | |
FlurryAgent.onStartSession(this, "YOUR_API_KEY"); | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Capture author info & user status | |
NSDictionary *articleParams = [NSDictionary dictionaryWithObjectsAndKeys: | |
@"John Q", @"Author", | |
@"Registered", @"User_Status", | |
nil]; | |
[Flurry logEvent:@"Article_Read" withParameters:articleParams timed:YES]; | |
// In a function that captures when a user navigates away from article |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Capture author info & user status | |
NSDictionary *articleParams = [NSDictionary dictionaryWithObjectsAndKeys: | |
@"John Q", @"Author", | |
@"Registered", @"User_Status", | |
nil]; | |
[Flurry logEvent:@"Article_Read" withParameters:articleParams]; |
NewerOlder