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() ;
intent.setFlags(flags)
ComponentName componentName = new
ComponentName("com.android.settings",
"com.android.settings.WirelessSettings");
intent.setComponent(componentName);
startActivityForResult(intent ,
WIFI_SETTING_ACTIVITY_RETURN ) ;
I thought that the initiating Activity should be blocked in the
onActivityResult unless the WIFISetting activity exits. After some
navigation on this topic , it should be caused by "singletask" .
As you know , WIFI activity has to be launched as Singletask mode .
So , would you like to shed some lights of the way of making the
execution blocked in OnActivityResult unless WIFISettings activity
exits.
Thanks a lot
Daniel
--
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