I have a service which starts from a broadcast and will run and import the vcards . I would like to show a progressbar if the service is still running when the user opens the app which has this service . and dismiss the progress bar once the service is stopped.
How can I achieve this.