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
Post a Comment