tag:blogger.com,1999:blog-89878749563391212.post3234190272622429006..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: A simple RSS reader II, implement with RSSFeed & RSSItemUnknownnoreply@blogger.comBlogger22125tag:blogger.com,1999:blog-89878749563391212.post-72760367349708910252013-07-10T03:49:12.098-07:002013-07-10T03:49:12.098-07:00i got the code but i want to show images also so p...i got the code but i want to show images also so pls help meAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-15295822695006705802013-01-26T11:54:39.701-08:002013-01-26T11:54:39.701-08:00Hi, thanks for your great tutorials! I added the c...Hi, thanks for your great tutorials! I added the content of the rss fedd to the detail view and got the problem, that it sometimes was cropped.<br /><br />Now I figured out, that the characters method could be passed several times within the same xml element. Your example works just fine, but if someone like me adds the content of the feed they should use a StringBuilder, append the characters in the characters method an move the state reset (currentState = state_unknown;) from characters method to endElement method.<br /><br />Maybe it helps someone.Andihttp://www.igroup-media.denoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-31395931805795692132012-04-26T02:27:10.291-07:002012-04-26T02:27:10.291-07:00sir,
i am new to RSS and downloaded a codes f...sir,<br /><br /> i am new to RSS and downloaded a codes from "A simple RSS reader II, implement with RSSFeed & RSSItem" actally the codes works well but when i replaced the URL with<br />http://feeds.feedburner.com/bbs/NHCG?format=xml , it displays --No Data--<br />pls helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-78241899957499465642011-01-25T19:15:19.505-08:002011-01-25T19:15:19.505-08:00Is there a way to make it only show 10 articles at...Is there a way to make it only show 10 articles at a time?Benhttps://www.blogger.com/profile/07381073479169053766noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-63643062358063263662010-12-15T08:13:21.980-08:002010-12-15T08:13:21.980-08:00Okay i figured out what it was... i had my list vi...Okay i figured out what it was... i had my list view id at @+id/list instead of @android:id/list...amberhttps://www.blogger.com/profile/09259505137127900579noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-45875836087845219652010-12-14T11:51:37.791-08:002010-12-14T11:51:37.791-08:00amber_king@ymail.com
Thanks so muchamber_king@ymail.com<br /><br />Thanks so muchamberhttps://www.blogger.com/profile/09259505137127900579noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-272772670904609162010-12-14T09:46:46.130-08:002010-12-14T09:46:46.130-08:00hello amber,
I download the code and run again, i...hello amber,<br /><br />I download the code and run again, it should work ok.<br /><br />Would you give me your email? I can send you the code.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-67237280731263480792010-12-14T08:36:03.793-08:002010-12-14T08:36:03.793-08:00i ran my debugger and it says the content needs to...i ran my debugger and it says the content needs to have a list view where the id is R.id.list which is the id you gave the listview in the main.xml, is there somewhere your implementing this that is not shown in your post. im unable to download the source codeamberhttps://www.blogger.com/profile/09259505137127900579noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-88712558503587700322010-12-14T08:17:21.153-08:002010-12-14T08:17:21.153-08:00yes i did, i was able to get your first example to...yes i did, i was able to get your first example to work but when you started working with listviews is when i started having problems. not sure why. any ideas? thanksamberhttps://www.blogger.com/profile/09259505137127900579noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-9450290685149913112010-12-14T08:09:25.426-08:002010-12-14T08:09:25.426-08:00hello amber,
did u set "android.permission.I...hello amber,<br /><br />did u set "android.permission.INTERNET" in AndroidManifest.xml?Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-51249899404604887662010-12-14T08:00:11.062-08:002010-12-14T08:00:11.062-08:00Hello, this is a great tutorial but i can't ge...Hello, this is a great tutorial but i can't get mine to work, when i run it it says the application has stopped unexpectedly. Could you tell me why this is? thanks!amberhttps://www.blogger.com/profile/09259505137127900579noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-22341912618876318682010-10-09T15:16:41.121-07:002010-10-09T15:16:41.121-07:00well I just made a new project and it works... som...well I just made a new project and it works... somehow something with my main app is calling the rss part wrong...<br /><br />HELP!!Lorenz Bischofhttps://www.blogger.com/profile/07176799005428799683noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-64242731608219939782010-10-09T14:48:03.867-07:002010-10-09T14:48:03.867-07:00When I click the button it force closes with this ...When I click the button it force closes with this output in logcat:<br /><br /><br />D/AndroidRuntime( 8578): Shutting down VM<br />W/dalvikvm( 8578): threadid=3: thread exiting with uncaught exception (group=0x4001e3c0)<br />E/AndroidRuntime( 8578): Uncaught handler: thread main exiting due to uncaught exception<br />E/AndroidRuntime( 8578): java.lang.NullPointerException<br />E/AndroidRuntime( 8578): at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:295)<br />E/AndroidRuntime( 8578): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:673)<br />E/AndroidRuntime( 8578): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:673)<br />E/AndroidRuntime( 8578): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:673)<br />E/AndroidRuntime( 8578): at android.view.ViewRoot.handleMessage(ViewRoot.java:1841)<br />E/AndroidRuntime( 8578): at android.os.Handler.dispatchMessage(Handler.java:99)<br />E/AndroidRuntime( 8578): at android.os.Looper.loop(Looper.java:123)<br />E/AndroidRuntime( 8578): at android.app.ActivityThread.main(ActivityThread.java:4595)<br />E/AndroidRuntime( 8578): at java.lang.reflect.Method.invokeNative(Native Method)<br />E/AndroidRuntime( 8578): at java.lang.reflect.Method.invoke(Method.java:521)<br />E/AndroidRuntime( 8578): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)<br />E/AndroidRuntime( 8578): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)<br />E/AndroidRuntime( 8578): at dalvik.system.NativeStart.main(Native Method)<br />I/Process ( 734): Sending signal. PID: 8578 SIG: 3<br />I/dalvikvm( 8578): threadid=7: reacting to signal 3<br />I/dalvikvm( 8578): Wrote stack trace to '/data/anr/traces.txt'Lorenz Bischofhttps://www.blogger.com/profile/07176799005428799683noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-32020326563574875072010-06-24T13:54:35.280-07:002010-06-24T13:54:35.280-07:00Paolinho: pls refer to Apply custom adapter to Lis...Paolinho: pls refer to <a href="http://android-er.blogspot.com/2010/06/apply-custom-adapter-to-listview-for.html" rel="nofollow">Apply custom adapter to ListView for RSS Reader</a>Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-25959365940549432282010-06-22T05:06:46.993-07:002010-06-22T05:06:46.993-07:00hi.. very good article..
sorry but i have a questi...hi.. very good article..<br />sorry but i have a question..<br />if i want to see the title and the date into a listview???the title up and the date down in the row of listview??Paolinhohttps://www.blogger.com/profile/03489542985315296537noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-88399592950420679912010-06-18T20:51:25.790-07:002010-06-18T20:51:25.790-07:00Holly Cairns: Yes, it's main.xml, Thx.
"...Holly Cairns: Yes, it's main.xml, Thx.<br /><br />"RSSItem is already defined" I can't catch! Do you double define something?<br /><br />"import missing"? Suppose nothing missed, if you work on Eclipse, if import missed, Eclipse will remind you.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-84586436546860088532010-06-18T20:47:00.601-07:002010-06-18T20:47:00.601-07:00ryan_k: I have no idea on audio feeds right now. S...ryan_k: I have no idea on audio feeds right now. Sorry!Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-51177840004449184812010-06-17T18:55:35.106-07:002010-06-17T18:55:35.106-07:00Hi Android-er,
This has "Modify main.java&qu...Hi Android-er,<br /><br />This has "Modify main.java" but did you mean to modify main.xml?<br /><br />And, for the RSSItem.java I'm running into the error that RSSItem is already defined. <br /><br />(and for that RSSItem.java is there an import missing? THANKS!)Holly Cairnshttps://www.blogger.com/profile/13843886442057669495noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-18240085937023394452010-05-26T07:46:30.345-07:002010-05-26T07:46:30.345-07:00I got it working, but my items are 'un-clickab...I got it working, but my items are 'un-clickable.' <br /><br />The items I am pulling are audio feeds. How do I get them to play/download when clicked?<br /><br />Thanks for your help!thatvirtualboyhttps://www.blogger.com/profile/09381937950057240700noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-80971032842198112232010-05-24T20:41:03.447-07:002010-05-24T20:41:03.447-07:00Thanks for the reply! This is how I'm calling ...Thanks for the reply! This is how I'm calling it:<br /><br />public void onClick(View src) {<br /> switch(src.getId()){<br /> <br /> case R.id.buttonMessageArchive:<br /> i = new Intent(this, AndroidRssReader.class);<br /> startActivity(i);<br /> break;<br /><br />When I do this, I get a 'force close' every time I click the button. Any ideas?<br /><br />Thanks again!thatvirtualboyhttps://www.blogger.com/profile/09381937950057240700noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-34610753490986697812010-05-23T15:49:49.295-07:002010-05-23T15:49:49.295-07:00ryan_k: Do you means how to start another activity...ryan_k: Do you means how to start another activity within one activity? pls refer to http://android-er.blogspot.com/2009/08/exercise-intent-bundle.htmlErikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-63131980833188601992010-05-17T11:32:24.366-07:002010-05-17T11:32:24.366-07:00When calling this for a button click from my exist...When calling this for a button click from my existing application, which java file do I call?<br /><br />Also, I already have a "main.xml" so what should I call the one that comes with this app?<br /><br />Thanks!thatvirtualboyhttps://www.blogger.com/profile/09381937950057240700noreply@blogger.com