Re: [android-developers] how to get blocked until the target activity returns.

2011-06-17 Thread Xie Daniel
urmm. if the called activity is set to singletask , then the behavior of the call to onActivityResult is not like normal case : onActivityResult is invoked after the target activity exits. refer to this link for detail :

[android-developers] how to get blocked until the target activity returns.

2011-06-15 Thread Xie Daniel
With some research on the issue , I perceive that this question has sth to do with the mode singletask in the acitivity , I wanna guide user to enable wifi using the snippet below : Intent intent = new Intent(Intent.ACTION_MAIN); // Intent intent = new Intent();

Re: [android-developers] how to get blocked until the target activity returns.

2011-06-15 Thread TreKing
On Sun, Jun 12, 2011 at 8:42 AM, Xie Daniel jasic2...@gmail.com wrote: So , would you like to shed some lights of the way of making the execution blocked in OnActivityResult unless WIFISettings activity exits. You don't need to block anything - onActivityResult won't be called until the