I see in documentation:
public void setVisible (boolean visible) Since: API Level 3
Control whether this activity's main window is visible. This is intended only for the special case of an activity that is not going to show a UI itself, but can't just finish prior to onResume() because it needs to wait for a service binding or such. Setting this to false allows you to prevent your UI from being shown during that time.
The default value for this is taken from the windowNoDisplay attribute of the activity's theme.
But can some one provide an example? How it can be used to "wait for a service binding"?
Also, what does it mean:
activity that is not going to show a UI itself, but can't just finish prior to onResume()