Android Studio Tutorial – RSS Reader

Google+ Pinterest LinkedIn Tumblr +

Video is ready, Click Here to View ×


Link donate :

Facebook :

Link source :

In this tutorial we will build a simple rss application. Requirements are:
1) parse an rss feed and conver it to Json
2) Display in Recycler View
3) Click to view full

android material design cards,
cardview android,
android development tutorial,
android programming tutorial,
android app development tutorial,
android tutorial for beginners ,
android app tutoria,
android studio tutorial,
learn android programming ,
android developer tutorial ,
android programming,
android development,
android studio tutorial for beginners,
android course,
android training,
android development course,
android app development course

Share.

About Author

32 Comments

  1. Hello there
    Thanks for the video really nice.
    However, when I try to open an article from the RSS my app crashes and the error received is Null Pointer Exception at FeedAdapter on implementation of ItemClickListener Interface.
    I have done exactly what you have done, so is there something I am missing or rather how should I implement the ItemClickListener interface to get rid of this error? Can't seem to figure it out.
    Thanks in advance 🙂

  2. what if when i click to article and i wanted to go another intent instead of see the article on web? if(!isLongClick){

    Intent intent=new Intent(MainActivity.this, SecondActivity.class);

    } i need something like this ,How am i do that? Action_View is basi,cally design for web and we are not doing this on MainActivity,so i cant call mainActivity.this,if you answer i will be pleased thank you))

  3. Hi! Could you help me?
    "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference"
    I can't fix this bug adn i need help

  4. Hi friend! i need your help, How can i do it in this rss https://blogdesuperheroes.es/feed? I try with your method and dont work. I see others tutorials and nothing. I know I should take the fields this xml, but you use RSS convert to JSON and this convert to C# and put in classes but dont work this and i dont know why, please help me.

    PD: I am sorry for my bad english

  5. first of all thanks for this tuto, it really helped me a lot….however i have a little echo about how to add an auto push notification to this app
    once again thanks a lot

  6. hello again;…….you are a great teacher and this app run just fine on the emulator but when i install this app in my phone the app crash and show "the app keep stopping"…….
    i tryed this solution but it didn't work file—-setting—–build,execu…..——-instant run——-disable instant run
    any ideas……..thanks

  7. Hey! First of all, thank you for the tutorial! But right now, I'm having a problem with the AsyncTask. My Event log tells me this:

    Emulator: [2560]:WARNING:android/android-emu/android/base/async/AsyncSocketServer.cpp:99:Error when accepting host connectionError message: Unknown error

    Soo, what should I do? Actually I did everything just like in the tutorial

    Aand Android Studio tells me, that I should make the AsyncTask class static, or else leaks might occur

  8. At 18:00 in the FeedAdapter.java inside of onBindViewHolder. I do not get the same options for the line holder.txtTitle.setText(rssObject.getItems().get(position).getTitle());
    getTitle turns red. The only other string options I have are getHtmlText. How can I fix this? Do I need to add a different library to my dependencies?

  9. hi,sir thank you for this work you made
    please sir i do not understand this code
    StringBuilder url_get_data=new StringBuilder(rss_to_json_api);
    url_get_data.append(rss_link);