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
//That's a correct version of onLoad method it takes a NSNUmber as a time parameter, not NSTimeInterval. | |
With prior Google's implementation I couldn't even build the project without warnings or errors. | |
- (void)onLoad:(NSNumber *)loadTime name:(NSString *)name andLabel:(NSString *)label{ | |
// May return nil if a tracker has not already been initialized with a | |
// property ID. | |
id tracker = [[GAI sharedInstance] defaultTracker]; | |
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 android.app.Activity; | |
public class TestActivity extends Activity { | |
public TestActivity() { | |
System.out.println("hello world!"); | |
} | |
} |
NewerOlder