I have a service that checks if new version of database is available
in the server.
If new version is available, the service calls an activity to notify
the user about availability of newer version of the database. Also,
the activity prompts the user to confirm if the database has to be
updated or not.

Once the user responds "Yes" or "No" for the database update, the
information is passed on from the activity to the service and the
service proceeds according to the user response and finally stops.

The problem here is that, I am not able to pause the service or keep
the service waiting, till the activity is responded by the user. the
service will be complete before the user confirms if he needs an
update or not.

Is it possible in any way to keep my service waiting till the user
responds to the activity started by my service?
Any information regarding implementation of the same will of great
help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to