Back to project page CloudCopyPaster.
The source code is released under:
Copyright (c) 2014, Dima Moiseev Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of s...
If you think the Android project CloudCopyPaster listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.newbilius.WinCopyPast; /*from w w w . ja v a2 s . co m*/ import android.content.Context; import com.google.android.gms.analytics.GoogleAnalytics; import com.google.android.gms.analytics.Tracker; public class Analytics { public static Tracker mTracker = null; public static synchronized Tracker getTracker(Context context) { if (mTracker==null){ GoogleAnalytics analytics = GoogleAnalytics.getInstance(context); //mTracker=analytics.newTracker("TRACKER CODE"); //set if you need you one tracker } return mTracker; } }