The big problem here seems to be that the target of the Intent thrown
from selecting a search suggestion in the Android Quick Search Box
must be an Activity.  If it could be a Service then I could simply
show a toast from that if offline or start the appropriate activity if
not.  Nope.  If its not an activity its not  even searchable!  But
starting an activity shows the app with the activity on the top of the
stack.  So finish() simply shows the activity that was below it in my
app's activity stack.

Perhaps i can simulate a back button press after showing the toast.
Its a hack though (can you even do that?)

Any other ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to