title: How to implement the new Google Play Services (Analytics)?
body: <p>I don't know exactly how to implement the new GPS Analytics into my app. My problem is located at the 4th step being described <a href="https://developers.google.com/analytics/devguides/collection/android/v4/" rel="nofollow">here</a>. I dont know how to use </p>
  
  <pre><code>Tracker t = ((AnalyticsSampleApp) getActivity().getApplication()).getTracker(
              TrackerName.APP_TRACKER);
  </code></pre>
  
  <p>correctly. More exactly what do I need to write for <strong>AnalyticsSampleApp</strong>. </p>
  
  <p>My Apps package name is com.mnd.tsst</p>
  
  <p>My global_tracker.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p>
    300</p>
  
  <pre><code>&lt;!-- Enable automatic Activity measurement --&gt;
  &lt;bool name="ga_autoActivityTracking"&gt;true&lt;/bool&gt;
  
  &lt;!-- The screen names that will appear in reports --&gt;
  &lt;screenName name="com.google.android.gms.analytics.samples.mobileplayground.ScreenviewFragment"&gt;
      TimetableApp TimeTableView
  &lt;/screenName&gt;
  &lt;!--  The following value should be replaced with correct property id. --&gt;
  &lt;string name="ga_trackingId"&gt;UA-xxxxxx-5&lt;/string&gt;
  </code></pre>
  
  <p></p>
  
  <p>I entered a correct property ID, just removed it to show it here.</p>