Discussion Forums  >  Uncategorized

Replies: 5    Views: 239

MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
01/24/12 06:05 PM (14 years ago)

RSS Feed Plugin for Android Working But...

Hey Gang, Looking for some help here. I hacked around for quite a while this past weekend and was able get a working RSS plugin for Android - but it's really crude. This is based off the plugin provided by the guys at BuzzTouchMods.com, and the iOS part works perfectly as they delivered it. I found some online Android samples and tutorials and was able to get them integrated. Would someone like to try your hand at improving my Android hack? Like I said, it works, but it's crude. A few things I haven't figured out yet. 1. The url is currently hard-coded into the 'FeedParserFactory.java' file. Need to find a way to grab the feed url from BT. 2. The strings.xml file needs four additional lines of code added (which are included at the bottom of the strings.xml file in the zip). Right now I think it overwrites the original file, and we need a more elegant solution. 3. I have not been able to integrate the look and feel of the RSS feed with the rest of a BT app. The BT_screen_rssReader.java file extends ListActivity, rather than extending BT_activity_base as the other BT screens do. I was not able to figure out how to make that work. 4. I'm currently only pulling the title from the RSS feed. Any help on this would be greatly appreciated (by me and I'm sure by the whole BT community). You can download the plugin here: www.jc-evans.com/uploads/rss_reader_plugin.zip Thanks!
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/14/12 05:38 PM (13 years ago)
Just found this thread.. Desperately want to get the android RSS to a fair level with iphone. Tired of gross hacks to make RSS work for android. Downloading now and will look at closely tonight..
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/14/12 05:39 PM (13 years ago)
Since you have been around BT for awhile, do you know if android ever had rss working? There is a chance we could look at 1.4 for help. I personally never used 1.4 so have never looked into its source. Becoming very familiar with structure for 1.5 and obviously then 2.0
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/14/12 07:32 PM (13 years ago)
Lots of posts, hopefully you are subscribed So were you working in bt 2.0 or 1.5? I have it loaded in BT 2.0, and on first load received an error message on my phone, not sure if you did work to get beyond this point. Edit NVM - Needed to update manifest.
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/14/12 08:58 PM (13 years ago)
Oi... I have been working on this for a couple hours. I see where we are getting just the title, but the current method is no where near how buzztouch does stuff, which in turn will never be helpful for the world. Currently we are working with too many classes (which most of which aren't in the end necessary if we pick one method to parse), and its not using any buzztouch information to do anything, so customization won't have any effect, nor are we going to be able easily feed json data.. Plan... get this towards a BT plugin, and do our best to understand what its currently doing with its classes in try to incorporate it in to our methods. What will be frustrating is that it uses different classes for just the simple stuff (lists). I am probably going to work towards this, only pick a parser that is easiest for myself to understand.. All of them are fairly documented from earlier research on rss in andorid, however many are designed to go beyond what we need. Currently I am using menusimple as a backbone to look towards because it uses the list setup, and I figure in the end I just need to stop pulling menu items and instead pull rss and place items hopefully place them in a similar way to buzztouch. Edit Just reread your thread and you said more eloquently everything I found.. Guess I should have read your thread a couple times during my process :) Also checked out 1.4 rss.. Looks like its cheating.. Possibly parsing the rss before it gets too json.. Definitely doesnt appear to be happening in app.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
03/18/12 06:43 AM (13 years ago)
@Zackamo - Would love to see if you can figure this out. I just haven't had any more time to dedicate to it.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.