I want to create an application that (among other things) can analyze channels downloaded over a network. Given that the standard Android + Core Java libraries do not provide a feed parser service, and I donโt want to write it myself, can you designate a Java feed parser that will run on a low-spectrum Android device.
I am just starting to learn Android by filling out the Hello World examples that I would like to move to my first application. I want to do something that parses some ATOM or RSS feeds and displays some content in a GridView.
The user interface seems to be very well documented on Android, and Sun has many examples of how to get the URL, however I am not so good at parsing.
Previously, when I did this in Pythion, I use a general purpose parser that can parse almost everything (e.g. RSS, ATOM). There are many good Python implementations of this kind, however, I have not found anything like this in the standard Android library.
At work, I made (light) maintenance on enterprise Java applications. Generally, the general practice is to use any classes you like (e.g. Jararta Commons feed-parser) and just bind them to CLASSPATH. Desktop applications don't care how important the dependencies are, however I'm sure the big problem is compiling the APK package for use on a device with disabilities. Of course, I have to be very picky about which boxes I depend on, right? Can I just continue to use the same classes as for desktop applications?
Notes:
- My background is in Python (only with easy Java experience)
- Ideally I would like to use something popular (not necessarily the best), so I can get support.
- Even better, I would like to use the built-in library functionality, so I do not need to add any third-party Jars to inflate my application.
- Currently configured on Android 1.5 (because this is what my device is working with)
java android
Salim fadhley
source share