If i'm understanding correctly, your service needs a user-response (a user 
supplied value) to continue. 
Make this asynchronous by handling the request twice:

- Make the request to the service from your UI (using intents)
- The service goes out on the web to do the actual request.
- The service gets a negative reply from the web-service; it needs some 
extra info.
- The service will send a broadcast out requesting for this info (from 
broadcast-receiver that knows the answer). If necessary, add some extra 
Info in the broadcast intent to help the receiver.
- Your UI will have registered as a receiver for this broadcast and your UI 
will now receive this broadcast: It will prompt the user for extra info.
- After the user has provided the extra info, your  UI will re-do the 
initial request including the extra info that was requested by the service. 
- The service gets the request, with the extra info, goes out to the web to 
get the actual results.
- If the web-service is still not happy, rinse and repeat or bail out.

If this request is a login issue (authentication issue), i suggest using 
authentication services instead.

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

Reply via email to