Is it possible to launch an Intent as a new application?
Wanted behaviour:
Thanks
I am not sure as I've never used it, but I guess you could use the intent flag FLAG_ACTIVITY_NEW_TASK for this.
Intent intent = your intent;
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
See http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK for more info.
Cheers
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.