I tried to set attribute android:launchMode="singleTask" for calling Activity, but it still does not works as I expect
I need that method onCreate(Bundle bundle) to be called only once, but it still calls each time when I start Activity. I want ensure that activity is not created each time when it is called I start Activity using code like this: public void onClick(View v) { Intent myIntent = new Intent(v.getContext(), NextActivity.class); startActivity(myIntent); } Please let me know what I am doing wrong -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en