Why exactly are you trying to loop it repeatedly? And that too 1000 times? Anyway, what does the logcat say?
Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 18, 2011 at 12:22 PM, tstanly <[email protected]> wrote: > sorry let me explan detailed, > > > now I have four activities, called A, B, C and D, > the calling sequence is, > A->B->A->C->A->D->A->B->....(loop repeatedly) > you can think A is main program, > after finishing B,C,D activity, it must return to A (using > StartActivityForResult), > this scenario will repeat for thousand times, > however it will shutdown in halfway of running process, > > so is there exist problem in my scenario? > when switching activities repeatedly, does there exist shutdown risk > to do large repeat times? > > > thanks for your patience > On 1月18日, 下午2時40分, Kumar Bibek <[email protected]> wrote: > > I am confused. What are you trying to do? > > > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > > > > > > > > > On Tue, Jan 18, 2011 at 11:44 AM, stanly <[email protected]> wrote: > > > hi all, > > > > > I have a application, > > > main activity called A, > > > function 1 called B, function 2 called C, function 3 called D, > > > every function are activitys, > > > then A will use StartActivityForResult call B then return to A, > > > and used same method to call C and D, > > > A->B->A->C->A->D->A->B->A->C.....and so on, > > > the loop will execute 10000 times, > > > but system will shutdown when looping the process, > > > > > I just confused about *switch activitys*, > > > does my method have problems for looping it? > > > may switching activity so many times to cause shutdown issue? > > > > > 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%[email protected]><android-developers%2Bunsubs > [email protected]> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > 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%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

