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

  • Home
  • SEARCH
  • 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 8669537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:29:53+00:00 2026-06-12T18:29:53+00:00

In my application for Android 2.2 + I will use ListView and communicate with

  • 0

In my application for Android 2.2 + I will use ListView and communicate with the existing XmlRpc server. User will manually add items to the ListView and application will receive additional information about items from the xmlrpc server.

The application will do the following activities:

  1. test the connection to the xmlrpc server
  2. retrieve information from the server for manually added item to the ListView
  3. retrieve information from the server for all the items in a ListView
  4. send a list of items to the server

These activities I plan to implement as:

  1. in onCreate() I will use AsyncTask to call xmlrpc function and then I will show OK/ERROR in status bar of application

  2. after pressing the ADD button I will use AsyncTask to call xmlrpc function to obtain information about the item (name, price, image) and then I will update the item just added.

  3. after pressing the GET ALL button I will use AsyncTask to call xmlrpc function to get information about all the items in the list (name, price, image) and then I will update all the items.

  4. after pressing the SEND button I will use IntentService to call xmlrpc function and after I will display the result in the dialog box.

Is it appropriate to use AsyncTask and IntentService for my needs?
Thank you.

  • 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-12T18:29:54+00:00Added an answer on June 12, 2026 at 6:29 pm

    All internet communication shall happen in separate background thread, U NOT HOG UI THREAD, or your application will be killed by android OS. List views are not updated directly, but via their adapter which provides data and views for it. Assuming you have created and configured appropriate adapter, workflow will be as follows:
    – rpc calls are processed in some background thread
    – they update datastore in your adapter
    – they signal via notifyDatasetChanged() ( from UI thread )
    – list view asks adapter to provide views for all visible list items
    – your interface is updated.

    You do not neet to mess with intents when you stay inside same java process – standart multithreading will do.

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

Sidebar

Related Questions

I am building a small Android application which will add a cube on user's
I have an Android application with a ListView in it, the ListView will setup
I'm writing an API on Android that will be used by an existing application,
I need to add a shake feature that will refresh my Android application. All
I want to write application on android and windows which will use bluetooth. In
My Android application will use big and very big files (i.e. between the size
I am going to make an application (iOS and Android) that will use a
I am trying to develop an android application that will use Bluetooth capabilities to
I am trying to develop an android application that will use the same MySQL
I am building an Android application that will send reports to a server. These

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.