> How to call Activity's onCreate() method each time it starts? > > Only first time when installed on device it calls onCreate method. If I have understood you correctly, then you need to read a bit more about Activity in general (http://developer.android.com/reference/ android/app/Activity.html). But to answer your question, your applications main Activity is launched every time your app is started. There is no way to call "onCreate" again and again on any activity in general, you can call restart and resume to run code, but cannot call onCreate itself unless you kill the activity or call onStop().
Hiwa -- 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 To unsubscribe, reply using "remove me" as the subject.

