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 {
    public static void GoToStoreView(Activity activity) {

        TabActivity tabActivity = (TabActivity) activity.getParent();
        tabActivity.getTabHost().setCurrentTab(1);

    }
}