1. Check out our app, Forums for Android! Download and leave feedback here!

Activity inside TabHost not getting onNewIntent when SearchManager dismisses

Discussion in 'Android Apps & Games' started by DrLou, Jul 28, 2010.

  1. DrLou

    DrLou New Member
    Thread Starter
    25

    Jul 27, 2010
    3
    0
    25
    Software engineer
    Mountain View, CA
    Hi, Folks.

    The documentation for the SearchManager says it will send an intent with the search string the user entered to the activity from which it was invoked. If that activity has set launchMode="singleTop" in the manifest, the intent will come in through the onNewIntent callback.

    I have been unable to get this behavior when the activity was started by a TabHost. Instead of calling onNewIntent, the activity's onCreate method is called, resulting in a new instance of the activity on top of the activity stack.

    Has anyone else had this problem? If so, have they found a solution?

    Thanks and regards,

    --Lou
     

    Advertisement

  2. marionegroponzi

    marionegroponzi New Member
    5

    Nov 3, 2010
    1
    0
    5
    same problem here, did you ever found a solution?
     

Share This Page

Loading...