Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.app.Activity;
import android.app.TabActivity;

public class Main {
    @SuppressWarnings("deprecation")
    public static void goToExtendedStatistics(Activity activity) {
        TabActivity tabActivity = (TabActivity) activity.getParent();
        tabActivity.getTabHost().setCurrentTab(5);
    }
}