@onlineadr:
This is my code for the activity:
Using java Syntax Highlighting
public class Splash extends Activity {
private final int SPLASH_DISPLAY_LENGHT = 1500;
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.splash);
new Handler().postDelayed(new Runnable(){
public void run() {
Intent mainIntent = new Intent(Splash.this,NSFTabWidget.class);
Splash.this.startActivity(mainIntent);
Splash.this.finish();
}
}, SPLASH_DISPLAY_LENGHT);
}
}
Parsed in 0.031 seconds, using
GeSHi 1.0.8.4
I have also this in my Manifest with the splash as first activity then my second :
Using xml Syntax Highlighting
<activity android:name=".Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".NSFTabWidget"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.DEFAULT" />
<category android:name="android.intent.category.VIEW" />
</intent-filter>
</activity>
Parsed in 0.002 seconds, using
GeSHi 1.0.8.4
I thought this was correct. At least from what plusminus has in the first thread