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 7219043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T21:34:20+00:00 2026-05-28T21:34:20+00:00

I have implemented sample applicatioon with ListActivty.I have used CustomAdapter and i am getting

  • 0

I have implemented sample applicatioon with ListActivty.I have used CustomAdapter and i am getting some text of array from web service.I have shown those messages as list.when the data has changed from web serice that data not changing in my list.To get the updated message from service i have used broad cast reciever for recieve get the updation.In my broad cast reciever class i can able to get the lates messages by using Alaram manger.In this case i would like to update the UI without knowing user.

I have written code for get the messages to show intial vallues from web service as shown below:

   usrMessages = new String[resultShoutMessage.size()];
    userName = new String[resultShoutMessage.size()];
    imgid = new Integer[resultShoutMessage.size()];

    for(int i=0;i<resultShoutMessage.size();i++)
    {
        Log.v("ShoutGetMsgsScreen", "resultMessage*******>>>>"+resultShoutMessage.get(i).getShoutMessageText());
        Log.v("ShoutGetMsgsScreen", "resultShoutNames*******>>>>"+resultShoutMessage.get(i).getShoutUserFirstName());
        usrMessages[i] = resultShoutMessage.get(i).getShoutMessageText();
        userName[i] = resultShoutMessage.get(i).getShoutUserFirstName();
        imgid[i] = R.drawable.person;
    }
  • 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-05-28T21:34:21+00:00Added an answer on May 28, 2026 at 9:34 pm

    In that case you can use IntentService. Register a BroadCastReceiver that will listen your when your data is downloaded from the WebService and get execute to update the UI. Pass your Intent to onHandleIntent() do the background process and sendBroadCast to Update your UI. Here is an example for the same.

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

Sidebar

Related Questions

I have implemented an application with Activty,Service,SQLiteOpenHelper.In my application I am getting the data
I have implemented a simple linux shell in c. Now, I am adding some
I am developing a web application where I have implemented job scheduler using Global.asax.
I have implemented Apple Push Notification service using Urban Airship and successfully received the
I am woking on twitter application. I have used Twitter Request package and implemented
I have implemented a simple GWT application featuring a login service (LoginService) and a
I have implemented the following code but my SearchActivity::OnCreate is not getting called. Can
I implemented a very simple sample mobile app using phonegab. I used Visual Studio
I have a Windows Application. We have implemented AutoSave functionality as background process. Sample
I would like to handle screen orientation in a sample application.I have implemented code

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.