It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                6年前关闭。
            
        

(Android)
第一个活动是SplashActivity。

我想跳过第一个活动:
打开应用程序-> SplashActivity-> SecondActivity->按下主屏幕按钮->按下应用程序图标-> SecondActivity

这可能吗?怎么样?

SOLVED

android:launchMode shoud be "standard"

最佳答案

当您按下主页按钮然后再次启动应用程序时,您无需执行任何操作,将显示SecondActivity。如果要按返回按钮,则该应用程序存在,然后在启动SecondActivity时在SplashActivity中调用finish()。

10-07 13:35