Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How r=to STORE RSS Feeds in Android for offline use.

    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 479
    Answer it

    I am working on an android app that displays an RSS News Feed. Something similar to CNN or other news app. So far the app is working great but I have one issue when the app us not connected to the internet the activity that the RSS News Feed is in come up blank. I don't want that, I want it to still have a list of the headlines. Based on my research, I see where it can be stored in a Database but I don't know how to do so. Would really appreciate if someone could assist me in fixing this issue. Thank you in advance.

 1 Answer(s)

  • you can store the feeds into SharePref by API name or database. and check internet connectivity on every api hit. If Internet is not available then get data from SharePref or Database and display to list.

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: