1. Are you ready for the Galaxy S20? Here is everything we know so far!

add rss notification from a website on android app

Discussion in 'Android Development' started by giannis97, Mar 15, 2019.

  1. giannis97

    giannis97 Newbie
    Thread Starter

    Which is the way to add on my app rss notification from a webisitE? Basicly my app is just a navigation drawer with some tabs that open the menus automatically same pages open.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. giannis97

    giannis97 Newbie
    Thread Starter

  3. GameTheory

    GameTheory Android Expert

    Interesting, I've never used an rss feed in an app. That would be something to look into for me.

    Are you trying to get a notification when the feed is updated?
    Or are you trying to display the feed?

    If it's the latter, then I'd imagine you would display the feed in a TextView.
     
  4. giannis97

    giannis97 Newbie
    Thread Starter

    actually, there is a website, i want when they upload some posts the app user notificies, its seems like the first you say
     
  5. giannis97

    giannis97 Newbie
    Thread Starter

    you have telegram or discord or something what ever to talk?
     
  6. GameTheory

    GameTheory Android Expert

    Sorry, I don't. I always keep my communications strictly here on the forums.

    Ok looking into this it's gonna take some research and time. Here's a couple of links I found...
    https://stackoverflow.com/questions/30820974/android-rss-reader-with-notifications
    https://www.androidauthority.com/simple-rss-reader-full-tutorial-733245/

    I really like the second link, but that is an rss reader without notifications which is not what you're looking for.
     
    giannis97 likes this.
  7. giannis97

    giannis97 Newbie
    Thread Starter

    the second one link, i do not think that it can push notifications of the users. its like a reader only
     
  8. giannis97

    giannis97 Newbie
    Thread Starter

    Is it possible to DM you i do not see message button .
     
  9. GameTheory

    GameTheory Android Expert

    Yeah, I disabled PM/DM to keep posts in the open on the forum. This way other developers/members can join in and help and other members can learn.
     
  10. giannis97

    giannis97 Newbie
    Thread Starter

    hmm fine ..
     
  11. giannis97

    giannis97 Newbie
    Thread Starter

    i am embarrasing to say this but i am noob on android developing thats why i asked you to communicate outsife of this forum
    but always go with the rules.
    might you can help me build the app :D
    also i tried to 'import' manually a project that has the perfect rss push notification its ready, to my app BUT .. like i said i am noob, made many mistakes many errors, couldnt solve them
     
  12. GameTheory

    GameTheory Android Expert

    Oh don't be embarrassed. Even the best developers were once beginners. Everyone starts at the beginning.

    Ok so you found source code for a project and it gives you errors when you import it?

    Is it old code? Can you post a link to the project you're trying to import?
     
    giannis97 likes this.
  13. giannis97

    giannis97 Newbie
    Thread Starter

    thats very good of you, i tried many times on stackoverflow but i know there many many good programmers, i took some balls instead.

    https://github.com/indywidualny/fNotifier
    this is the project, i like it because it has some custom options, LED notifications.
    The problem with me right now is that i tried to import 'manualy' code from his source code to mine.
    can you tell me which exactly i need to copy?

    whats the error :/ see the screenshot

    EDIT: OK i found the error
     

    Attached Files:

  14. giannis97

    giannis97 Newbie
    Thread Starter

    the code i took to 'build my app' is from here https://github.com/AndroidPoint/NavigatoinWebview if you need it
     
  15. Deleted User

    Deleted User Guest

    The correct way to import a project from Github is to clone it to a local repo. In Android Studio, select File -> New -> Project from version control.
    Then clone the remote repo using the URL provided on the Github project page - green button labelled "Clone or download"
     
  16. giannis97

    giannis97 Newbie
    Thread Starter

    Thanks for the answer, the problem tho is that i need to merger somehow his code with the navigationdrawer app i will be using.
     
  17. Deleted User

    Deleted User Guest

    Rather than dive straight into code, you would probably benefit from thinking about how you want your app to look. Sketch out some layouts for the UI. How do you want the workflow to be, that's how the user navigates from screen to screen.

    I'm not saying you can't benefit from looking at, or using other people's code, but it might actually be a harder task to try and glue these two applications together, as opposed to starting from the ground up.

    Like I say, your first design task will be to visualise how you want the application to look, then start to build layouts which realise that design.
     
    GameTheory likes this.
  18. giannis97

    giannis97 Newbie
    Thread Starter

    i agree with you, i do not have programming knowledge , only python and pascal. relevant to android dev, i been trying to learn java or kotlin i am not good at reading tho :/
     
  19. GameTheory

    GameTheory Android Expert

    This^ is an old project with dated code that will need to be updated. You're probably better off starting from scratch as LV426 suggested. You will definitely need some knowledge of java to create this project.

    Good luck and hope all works out.
     
  20. giannis97

    giannis97 Newbie
    Thread Starter

    So the copy pasting of one project to another isn't good idea ? Hmmm
     
  21. GameTheory

    GameTheory Android Expert

    I think LV426 gave you the best advice in post #17. As I also mentioned, that fNotifier code is old and will most likely give you a hard time updating it.
     
    Deleted User likes this.
  22. Deleted User

    Deleted User Guest

    Take it one step at a time. As your application centers around reading an RSS feed, I'd look at writing some code which can do that. The links referred to by @GameTheory look very useful. You're probably not going to find code which does exactly what you want. But this stuff will at least get you started in the right direction.

    https://stackoverflow.com/questions/30820974/android-rss-reader-with-notifications
    https://www.androidauthority.com/simple-rss-reader-full-tutorial-733245/

    In many ways, adapting existing code is harder than writing it yourself, because you still have to go through the process of understanding what's written. At least by writing from scratch, you completely understand what it's doing, and have total control over the structure of the app.
     
    GameTheory and giannis97 like this.
Loading...

Share This Page

Loading...