How to set a specific tab when opening a Sliding Tab Layout activity?

ViewPager is most often used in conjunction with Fragment, which is a convenient way to supply and manage the lifecycle of each page.

You can use setCurrentItem // Set the currently selected page.

Set the currently selected page. If the ViewPager has already been through its first layout with its current adapter there will be a smooth animated transition between the current item and the specified item.

Finally,

Your_View_Pager_Obj.setCurrentItem(1); // call into onCreate(Bundle savedInstanceState)