0
votes

The idea is to replace the default splash screen in Titanium with a native one in android.

I created the SplashActivity.java and placed it in the "Platform->android->src->com->example->app"

Then created the custom AndroidManifest.xml in "Platform->android"

The app is launching the SplashActivity as the main one but am stuck at opening the Titanium Activity after finishing from the splash screen.

Is there any way to open the main Titanium Activity from a custom activity?

1

1 Answers

-1
votes

The TestApp is your app name.

I solved it by editing the custom AndroidManifest.xml and adding the TestAppActivity as activity.

And in the SplashActivity.java added:

Intent intent = new Intent(SplashActivity.this,TestAppActivity.class);
startActivity(intent);
finish();