Would onStart be a better place to do View manipulation than onResume? What is the benefit of onStart over onResume in this context?
Thanks, Nick On Apr 5, 12:19 pm, Kumar Bibek <[email protected]> wrote: > Yup, onStart is a good option. :) > > Thanks and Regards, > Kumar Bibek > > On Apr 5, 11:56 pm, Yahel <[email protected]> wrote: > > > > > You can try to put your splash screen logic in the onStart method. > > > It is triggered everytime your activity is shown. > > > Yahel > > > On 5 avr, 12:04, kavitha <[email protected]> wrote: > > > > Hi Kumar,, > > > > I guess Dror520 is doing same,,even i am using same,,, > > > > But OnCreate() method is not called at all upon relaunch of application > > > > that is the problem,how to solve it? > > > > Thanks > > > Kavitha > > > > On Mon, Apr 5, 2010 at 1:25 PM, Kumar Bibek <[email protected]> wrote: > > > > Well, you cannot run two Activities simultaneously. When one Activity > > > > is in the foreground, the next activity will be in paused/stop state. > > > > Only when your foreground activity finishes, you background activity > > > > will come alive. > > > > > Show your splash screen for 5 secs. Then start the next activity and > > > > finish your flash activity. > > > > > Thanks and Regards, > > > > Kumar Bibek > > > > > On Apr 5, 6:13 am, Dror520 <[email protected]> wrote: > > > > > thanks for your answer! i figured it out it was actually my fault ... > > > > > lol > > > > > now i'm having a hard time figuring out how to start the mydeals > > > > > activity but keep the splashscreen activity showing on the screen and > > > > > when the mydeals activity is done move to that activity ... > > > > > thanks! > > > > > > On Apr 3, 7:34 am, Kumar Bibek <[email protected]> wrote: > > > > > > > Make sure that your onCreate method is called, and it is not > > > > > > resumed. > > > > > > You can put some Log statements to check this in your onCreate > > > > > > method. > > > > > > > Thanks and Regards, > > > > > > Kumar Bibek > > > > > > > On Mar 30, 3:45 am, Dror520 <[email protected]> wrote: > > > > > > > > Hey, i made a splash screen: > > > > > > > public class SplashScreen extends Activity { > > > > > > > > protected int splashTime = 2000; > > > > > > > > @Override > > > > > > > public void onCreate(Bundle savedInstanceState) { > > > > > > > super.onCreate(savedInstanceState); > > > > > > > setContentView(R.layout.splash); > > > > > > > new Handler().postDelayed(new Runnable(){ > > > > > > > @Override > > > > > > > public void run() { > > > > > > > Intent intent = new Intent(SplashScreen.this, > > > > MyDeals.class); > > > > > > > SplashScreen.this.startActivity(intent); > > > > > > > SplashScreen.this.finish(); > > > > > > > } > > > > > > > > }, splashTime); > > > > > > > > } > > > > > > > > } > > > > > > > > AndroidMenifiest: > > > > > > > > <activity android:name=".SplashScreen" > > > > > > > android:theme="@android:style/Theme.NoTitleBar" > > > > > > > android:screenOrientation="portrait"> > > > > > > > <intent-filter> > > > > > > > <action android:name="android.intent.action.MAIN" > > > > > > > /> > > > > > > > <category > > > > > > > android:name="android.intent.category.LAUNCHER" /> > > > > > > > </intent-filter> > > > > > > > </activity> > > > > > > > <activity android:name=".MyDeals" > > > > > > > android:theme="@android:style/Theme.NoTitleBar" > > > > > > > android:screenOrientation="portrait"> > > > > > > > <intent-filter> > > > > > > > <action > > > > android:name="android.intent.action.DEFAULT"/> > > > > > > > <category > > > > > > > android:name="android.intent.catagory.VIEW" > > > > / > > > > > > > > </intent-filter> > > > > > > > </activity> > > > > > > > > it works the first time i put it on the device. but then when i > > > > > > > kill > > > > > > > the application so the application can start over i don't see it. > > > > > > > it > > > > > > > goes straight to the next activity MyDeals. > > > > > > > > can you please help me thanks! > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<android-developers%2Bunsubs > > > > [email protected]> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > > To unsubscribe, reply using "remove me" as the subject. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

