Giter Club home page Giter Club logo

androidrssreader's Introduction

AndroidRssReader

Guide: http://blog.nerdability.com/2013/03/tech-building-rss-reader-android-app.html

We have built a simple RSS reader app for Android (3.0+) as part of a tutorial on parsing RSS feeds on the platform.

The app is fully functioning and is ready to be forked/downloaded and run on any compatible Android device/emulator - by default it will parse the http://nerdability.com blog.

It also has some other built in features such as a basic DB tracking which posts you have already read.

RIP Google Reader

License

Copyright (c) 2013 NerdAbility Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

androidrssreader's People

Contributors

avade avatar robhinds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

androidrssreader's Issues

RSS entry content not showing

After I updated the node names for my RSS feed, I get the entries in list view.
But selecting one entry only shows an empty details page.

Checking the sources, I found that the item_id is passed to a new ArticleDetailFragment activity

detailIntent.putExtra(ArticleDetailFragment.ARG_ITEM_ID, id);

which creates a new fragment setting the item_id as String

arguments.putString(ArticleDetailFragment.ARG_ITEM_ID,getIntent().getStringExtra(ArticleDetailFragment.ARG_ITEM_ID));

but the fragment only sets displayedArticle if the Article.KEY is set and I can't find where it handles the item_id.
Am I wrong? Solution for this?

errors..

hello, excuse me! but i'm a complete newbie to android, and i just came across your application and when i opened it in eclipse it loaded few errors, i tried to solve some, but i got problems with two activities i couldn't solve them!
ArticleListActivity and ArticleDetailActivity.. they both contain loads of errors! can you please help me? i tried a lot and couldn't solve it!

Unable to instantiate activity component info

Hey guys!, can you please help me with this error? i was unable to solve it and i tried and searched a lot!


06-09 15:53:14.722: E/AndroidRuntime(3493): FATAL EXCEPTION: main
06-09 15:53:14.722: E/AndroidRuntime(3493): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nerdability.android/com.nerdability.android.ArticleListActivity}: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.access$600(ActivityThread.java:132)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.os.Handler.dispatchMessage(Handler.java:99)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.os.Looper.loop(Looper.java:137)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.main(ActivityThread.java:4575)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.reflect.Method.invokeNative(Native Method)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.reflect.Method.invoke(Method.java:511)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at dalvik.system.NativeStart.main(Native Method)
06-09 15:53:14.722: E/AndroidRuntime(3493): Caused by: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity
06-09 15:53:14.722: E/AndroidRuntime(3493):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
06-09 15:53:14.722: E/AndroidRuntime(3493):     ... 11 more

Article content empty in phones.

I've used this code, fixed the 15 articles limit SAXException, updated it to work with Wordpress rss and with dc:creator label,It works perfect on tablets, showing article list and article content when I click in one article on the list, but when I test in on an emulated phone, the list shows ok, but when I click on an item, the detail fragment appears empty. I know the fragment is loaded , cause I added some plain text to the layout and that text is showed well.

I've found that the displayedarticle variable is null and thats why the article detail is not viewed, but when in tablets displayedarticle is not null.

RssService Error

I get this error ... solutions?

E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.me, PID: 2032
java.lang.NullPointerException
at com.me.rss.RssService$1.run(RssService.java:52)
at android.app.Activity.runOnUiThread(Activity.java:4713)
at com.me.rss.RssService.onPostExecute(RssService.java:49)
at com.me.rss.RssService.onPostExecute(RssService.java:27)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)

error

i receive a lang.nullPointerException :(

ArticleListActivity error

Hello,
after i solved the previous error, it was a bad for me i just had to add appcompt..

now i'm able to run the application, but i get the following error and the application shuts down, here what it gave me:

04-12 14:47:23.509: E/AndroidRuntime(1049): FATAL EXCEPTION: main 04-12 14:47:23.509: E/AndroidRuntime(1049): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nerdability.android/com.nerdability.android.ArticleListActivity}: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread.access$600(ActivityThread.java:123) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.os.Handler.dispatchMessage(Handler.java:99) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.os.Looper.loop(Looper.java:137) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread.main(ActivityThread.java:4424) 04-12 14:47:23.509: E/AndroidRuntime(1049): at java.lang.reflect.Method.invokeNative(Native Method) 04-12 14:47:23.509: E/AndroidRuntime(1049): at java.lang.reflect.Method.invoke(Method.java:511) 04-12 14:47:23.509: E/AndroidRuntime(1049): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 04-12 14:47:23.509: E/AndroidRuntime(1049): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 04-12 14:47:23.509: E/AndroidRuntime(1049): at dalvik.system.NativeStart.main(Native Method) 04-12 14:47:23.509: E/AndroidRuntime(1049): Caused by: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity 04-12 14:47:23.509: E/AndroidRuntime(1049): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 04-12 14:47:23.509: E/AndroidRuntime(1049): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 04-12 14:47:23.509: E/AndroidRuntime(1049): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 04-12 14:47:23.509: E/AndroidRuntime(1049): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871) 04-12 14:47:23.509: E/AndroidRuntime(1049): ... 11 more 04-12 14:47:23.661: I/dalvikvm(1049): threadid=3: reacting to signal 3 04-12 14:47:23.674: I/dalvikvm(1049): Wrote stack traces to '/data/anr/traces.txt' 04-12 14:47:24.061: I/dalvikvm(1049): threadid=3: reacting to signal 3 04-12 14:47:24.073: I/dalvikvm(1049): Wrote stack traces to '/data/anr/traces.txt'

it gives me error in RssService, but i don't know whats the problem in it! i done nothing to the source code except adding the appcompt-v4 jar file!!
can you please help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.