android Programming Glossary: singletask
How to change an application icon programmatically in Android? http://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android android theme @style CustomTheme android launchMode singleTask intent filter action android name android.intent.action.MAIN..
Android: bug in launchMode=“singleTask”? -> activity stack not preserved http://stackoverflow.com/questions/2417468/android-bug-in-launchmode-singletask-activity-stack-not-preserved bug in launchMode &ldquo singleTask&rdquo activity stack not preserved My main activity A has as.. My main activity A has as set android launchMode singleTask in the manifest. Now whenever I start another activity from.. improve this question This is not a bug. When an existed singleTask activity is launching all other activities above it in the stack..
Android moving back to first activity on button click http://stackoverflow.com/questions/2776830/android-moving-back-to-first-activity-on-button-click Declare A in your manifest with the android launchMode singleTask . This way when you call startActivity from your other activies..
Android singleTask or singleInstance launch mode? http://stackoverflow.com/questions/3219726/android-singletask-or-singleinstance-launch-mode singleTask or singleInstance launch mode I have an app that has a list.. than go back to the previouse search results both the singleTask and singelInstance launch mode seems to do what I want so Im.. all other respects the singleInstance mode is identical to singleTask . As noted above there's never more than one instance of a singleTask..
onActivityResult() called prematurely http://stackoverflow.com/questions/3354955/onactivityresult-called-prematurely result which has not been set yet for activity declared as singleTask despite the fact that the activity continues to run . If we.. the fact that the activity continues to run . If we change singleTask to singleTop everything works as expected result is reported.. While this behavior has certain explanation only one singleTask activity can exist and there can happen multiple waiters for..
How to use multiple MapActivities/MapViews per Android application/process http://stackoverflow.com/questions/3379575/how-to-use-multiple-mapactivities-mapviews-per-android-application-process I don't want to define my MapActivity as a singleInstance singleTask since the user should always be able to navigate back to the..
android custom url scheme..? http://stackoverflow.com/questions/4023273/android-custom-url-scheme android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android.. android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android.. android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android..
How to prevent multiple instances of an activity when it is launched with different intents http://stackoverflow.com/questions/4341600/how-to-prevent-multiple-instances-of-an-activity-when-it-is-launched-with-differ lead to a stack A B C A. I tried using android launchMode singleTask on all the activities to fix this problem but it has the unwanted..
Android 3.1 USB-Host - BroadcastReceiver does not receive USB_DEVICE_ATTACHED http://stackoverflow.com/questions/6981736/android-3-1-usb-host-broadcastreceiver-does-not-receive-usb-device-attached to set the launchmode of your activity in the manifest to singleTask to prevent it from running again when its already running or.. orientation keyboardHidden android launchMode singleTask intent filter action android name android.intent.action.MAIN..
How to change an application icon programmatically in Android? http://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android android screenOrientation portrait android label @string app_name android theme @style CustomTheme android launchMode singleTask intent filter action android name android.intent.action.MAIN category android name android.intent.category.LAUNCHER DELETE..
Android: bug in launchMode=“singleTask”? -> activity stack not preserved http://stackoverflow.com/questions/2417468/android-bug-in-launchmode-singletask-activity-stack-not-preserved bug in launchMode &ldquo singleTask&rdquo activity stack not preserved My main activity A has as set android launchMode singleTask in the manifest. Now whenever.. in launchMode &ldquo singleTask&rdquo activity stack not preserved My main activity A has as set android launchMode singleTask in the manifest. Now whenever I start another activity from there e.g. B and press the HOME BUTTON on the phone to return.. real solution to this yet. android activity stack share improve this question This is not a bug. When an existed singleTask activity is launching all other activities above it in the stack will be destroyed. When you press HOME and launch the activity..
Android moving back to first activity on button click http://stackoverflow.com/questions/2776830/android-moving-back-to-first-activity-on-button-click void onClick View v startActivity new Intent D.this A.class Declare A in your manifest with the android launchMode singleTask . This way when you call startActivity from your other activies and A is already running it will just bring it to the front...
Android singleTask or singleInstance launch mode? http://stackoverflow.com/questions/3219726/android-singletask-or-singleinstance-launch-mode singleTask or singleInstance launch mode I have an app that has a list as its main activity and then you can click items which opens.. view that they were on before they started searching rather than go back to the previouse search results both the singleTask and singelInstance launch mode seems to do what I want so Im not sure which one I should be using for this purpose and why.. mode as if FLAG_ACTIVITY_NEW_TASK was in the intent. In all other respects the singleInstance mode is identical to singleTask . As noted above there's never more than one instance of a singleTask or singleInstance activity so that instance is expected..
onActivityResult() called prematurely http://stackoverflow.com/questions/3354955/onactivityresult-called-prematurely There's a bug feature in Android which immediately reports result which has not been set yet for activity declared as singleTask despite the fact that the activity continues to run . If we change singleTask to singleTop everything works as expected.. been set yet for activity declared as singleTask despite the fact that the activity continues to run . If we change singleTask to singleTop everything works as expected result is reported only after the activity is finished. While this behavior has.. expected result is reported only after the activity is finished. While this behavior has certain explanation only one singleTask activity can exist and there can happen multiple waiters for it this is still a not logical restriction for me. share..
How to use multiple MapActivities/MapViews per Android application/process http://stackoverflow.com/questions/3379575/how-to-use-multiple-mapactivities-mapviews-per-android-application-process only possible to have one MapActivity per process. However I don't want to define my MapActivity as a singleInstance singleTask since the user should always be able to navigate back to the first MapActivity that shows multiple places. I have seen that..
android custom url scheme..? http://stackoverflow.com/questions/4023273/android-custom-url-scheme Here is part of my manifest file activity android name .Gallery1 android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android name android.intent.action.GALLERY category android name.. which is what I think you want. activity android name .Gallery1 android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android name android.intent.action.VIEW category android name android.intent.category.DEFAULT.. implied then just create 2 filters activity android name .Gallery1 android label @string app_name android launchMode singleTask android screenOrientation portrait intent filter action android name android.intent.action.GALLERY category android name..
How to prevent multiple instances of an activity when it is launched with different intents http://stackoverflow.com/questions/4341600/how-to-prevent-multiple-instances-of-an-activity-when-it-is-launched-with-differ consists of the activities A B C then the above issue can lead to a stack A B C A. I tried using android launchMode singleTask on all the activities to fix this problem but it has the unwanted side effect of clearing the activiy stack to root whenever..
Android 3.1 USB-Host - BroadcastReceiver does not receive USB_DEVICE_ATTACHED http://stackoverflow.com/questions/6981736/android-3-1-usb-host-broadcastreceiver-does-not-receive-usb-device-attached start that loop and I'm good. Its also probably important to set the launchmode of your activity in the manifest to singleTask to prevent it from running again when its already running or else plugging in a USB device will just launch a second instance.. android screenOrientation landscape android configChanges orientation keyboardHidden android launchMode singleTask intent filter action android name android.intent.action.MAIN category android name android.intent.category.HOME category..
|