nerdability / androidrssreader Goto Github PK
View Code? Open in Web Editor NEWA sample Android RSS reader - in the style of Google Reader
A sample Android RSS reader - in the style of Google Reader
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
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!
i receive a lang.nullPointerException :(
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?
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)
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.