I want to send information to google-analytics, How I can achieve this in android?
<p>I want to send data to google-analytics, I wrote following code as to track the application. Please tell how can I send data to google-analytics.</p>

<pre><code>GoogleAnalyticsTracker tracker;
tracker = GoogleAnalyticsTracker.getInstance();
tracker.startNewSession("UA-31864674-1", this);
tracker.trackEvent("Clicks", "Button", "clicked", 77);
tracker.setCustomVar(1, "Medium", "Mobile App");
tracker.trackPageView("/POLS2AppsSplashScreen");
tracker.dispatch();
</code></pre>

<p>What should I add to above code so that I can send data to Google-Analytics?</p>
