Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There are two tabs in my android tab inside activies there how to move from one activity to another.
Posted

Please refer to the [Tab Navigation ] Section in the given link.
 
Share this answer
 
You can read this article Use Android ActivityGroup within TabHost to show different Activity[^]. use tabhost[^] to contain different activities.

Example:
TabHost tabHost = getTabHost();

        tabHost.addTab(tabHost.newTabSpec("tab1").setIndicator("Activity1").setContent(
                new Intent(this, Activity1.class)));
        tabHost.addTab(tabHost.newTabSpec("tab2").setIndicator("Activity2").setContent(
                new Intent(this, Activity2.class)));
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900