Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7805579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:16:24+00:00 2026-06-02T02:16:24+00:00

I have developed for appstore before and I used ASIHTTPRequest . Is there something

  • 0

I have developed for appstore before and I used ASIHTTPRequest. Is there something similar for Android?

Am looking at making a few HTTP requests, which are queued and manageable. This is what I need to do:

  1. Set-up a queue of lets say 6 http requests.
  2. Once the queue is setup, execute it with each request giving me a success/failure result.
  3. If one request fails, I have the option to cancel/clear the whole queue.
  4. If all the requests in the queue are successful, I can have another callback for the whole queue’s success event.
  5. And,each request can have a retry count; meaning; I can say each request can retry n number of time before they can return a failure.

ASIHTTPRequest for IOS was pretty good at handling this. Is there anyway I can do this with Android? Most of my content returned is XML and no binary data.

Any feedback is much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:16:24+00:00Added an answer on June 2, 2026 at 2:16 am

    What you describe is not overly complicated to build.

    1. Extend java.util.Queue
    2. Create custom “listener” interface which handles all the events you need to track.
    3. Custom request objects that allow a “listener” to be set.
    4. Your custom queue will have a thread to process items in it’s own queue.
    5. Depending on your exact requirements, you may also need an additional interface/listener to pass back the final response to the object that made the initial request.

    When adding an object to the queue, your queue would set itself as the “listener” on the custom request object.

    When the events happen in the request object, the event methods will be called on the listener object…in the case the queue…which can react appropriately.

    I suspect something like ASIHTTPRequest does not really exist in Java/Android, because it’s not as difficult a problem to solve as on iOS. I could implement the above objects into a functional component in 20 minutes or less. Of course, if you’ve not done something like this before, it may take you much longer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a few Delphi Win32 (currently using D2007) applications, which revolve around
Currently, I have an iPhone app published in AppStore. I've developed it using XCode
I have developed a few app store applications but recently have been asked by
I have developed an application on the appstore that uses an overlay over the
I have developed an application and successfully uploaded onto the Appstore. Now I have
I have developed a simple library in Ruby and need to use this in
I have developed a web service and host it on my server and I
I have developed a window application in VS2005 using C#. I need to integrate
I have developed a Jersey Resource class. Can someone please tell me how can
I have developed code on a m-file script in Matlab that communicates with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.