ok, because I am test for utility, A, B, C, D is mentioned before, A is main program, B doing for voice test, C doing for backlight, D doing for gsensor, and my device will connect to wifi ap first, then doing this utility test, but now I can't figure out my shutdown issue is "my application problem" or "wifi problem" or something else.
so I think the switching between activities many large time may be a shutdown cause. thanks On 1月18日, 下午4時11分, Kevin Duffey <[email protected]> wrote: > I too am confused.. why do you have to jump through activities repeatedly > like this? You need to give us a lot more info to make sense of what you are > doing? > > > > > > > > On Mon, Jan 17, 2011 at 11:22 PM, Kumar Bibek <[email protected]> wrote: > > 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%2Bunsubs > >> > > [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%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%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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

