android - How to make a click on an item in the global search provider (Quick Search Box) go to the correct Activity -


i have application has structure:

  • activity a

    • activity b

      • activity c

in activity b call startactivityforresult on activity c.

in activity c have search provider user can search addresses , return them activity b.

this works great, when introduce search results in quick search box (reference link) click on suggestion go straight activity c. calling finish on activity not want (returning b result).

so suggestions on how rewrite work in both scenarios?

you need pass result between activities

activity c --> send result ---> activity b.

how use onactivityresult(..) if activity called menu

see answer here. same, mind comments below.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -