FileDocCategorySizeDatePackage
SdkStatsHelper.javaAPI DocAndroid 1.5 API1345Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.common

SdkStatsHelper

public class SdkStatsHelper extends Object
Helper class to access the ping usage stat server.

Fields Summary
Constructors Summary
Methods Summary
public static voidpingUsageServer(java.lang.String pluginName, org.osgi.framework.Version pluginVersion)
Pings the usage start server.

param
pluginName the name of the plugin to appear in the stats
param
pluginVersion the {@link Version} of the plugin.

        String versionString = String.format("%1$d.%2$d.%3$d", pluginVersion.getMajor(),
                pluginVersion.getMinor(), pluginVersion.getMicro());

        SdkStatsService.ping(pluginName, versionString);