Ejemplo n.º 1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            newTimer = new DispatcherTimer();
            newTimer.Interval = TimeSpan.FromTicks(1);
            newTimer.Tick += OnTimerTick;
            newTimer.Start();

            MobileAppTracker.Instance.InitializeValues("877", "8c14d6bbe466b65211e781d62e301eec");
            MobileAppTracker.Instance.SetPackageName("com.hasofferstestapp");
            MobileAppTracker.Instance.SetAllowDuplicates(true);
            MobileAppTracker.Instance.SetDebugMode(true);

            MyMATResponse response = new MyMATResponse();
            MobileAppTracker.Instance.SetMATResponse(response);
        }
Ejemplo n.º 2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            newTimer          = new DispatcherTimer();
            newTimer.Interval = TimeSpan.FromTicks(1);
            newTimer.Tick    += OnTimerTick;
            newTimer.Start();

            mat = MobileAppTracker.InitializeValues("877", "8c14d6bbe466b65211e781d62e301eec");
            mat.SetPackageName("com.hasofferstestapp");
            mat.SetAllowDuplicates(true);
            mat.SetDebugMode(true);

            MyMATResponse response = new MyMATResponse();

            mat.SetMATResponse(response);
        }