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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:42:22+00:00 2026-06-16T07:42:22+00:00

I am designing a TV Guide Application for Android. It will access the Server

  • 0

I am designing a TV Guide Application for Android. It will access the Server through the HTTP:GET Request and provide the program details through an XML.

Because data is dynamic, I have to keep refreshing it.I will be storing data in a datastructure like ArrayList and not in sqlite database.

My questions is how to refresh data .I thought of refreshing data every 30 mins but it does not seem efficient.

Any other way? Can a Sync Adapter be helpful here?

  • 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-16T07:42:23+00:00Added an answer on June 16, 2026 at 7:42 am

    You have to use a Handler and its postDelayed method to invalidate the list’s adapter as follows:

        Handler handler = new Handler()
        handler.postDelayed( new Runnable() 
       {
            @Override
            public void run() 
             {
                // Call Webservice fetchdata and stored into arraylist and notifydataset
                adapter.notifyDataSetChanged();
                handler.postDelayed( this, 60 * 1000 );
             }
        }, 60 * 1000 );
    

    Here the above code works after every 1 minutes . You need to change time according to your requirement.

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

Sidebar

Related Questions

i am designing a sms application for android. i have been successful in sending
Possible Duplicate: Capturing url parameters in request.GET I'm designing a detail page of my
I have read Android's Developers Guide on Designing for Performance. I am just wondering
I am new to designing interfaces for Android. (I have gone through the Multiple
I am designing a client and server socket program. I have a file to
I'm designing a simple layout for my android application but when i write the
A Guide to Designing and Building RESTful Web Services with WCF 3.5 , this
The rails docs are apparently in error - http://guides.rubyonrails.org/association_basics.html#selfjoins ) In designing a data
While designing a new WPF application I noticed exceptions not being thrown during data
We are working on designing an application that is typically OLTP (think: purchasing system).

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.