java - how to make the Fragment/Activity not go to the backgoround -


normally in fragment, implicit intent can used start brower component,if there several brower component, android system show selection dialog ,the dialog overlay fragment send intent.

but in situation when selection dialog shown ,the fragment go background(disappeared) ,and home screen can seen.

does encounter problem ,how make fragment not go backgoround.

in onpause method below in fragment source

@override public void onpause() {      mlog.printmethodlifecycle("onpause");     super.onpause();  } 

and in activity did not overide onpause method

androidmanifest.xml long ,can tell me part should post or notice


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -