ahorn/android-rss


Source link: https://github.com/ahorn/android-rss

Package: org.mcsoxford.rss License: Apache License Version 2.0 Authors: A. Horn Description: Lightweight Android library to read parts of RSS 2.0 feeds.

Installation

Add as a Maven/Gradle dependency: https://jitpack.io/#ahorn/android-rss

Fetch the source code with Git:

  git clone https://[email protected]/ahorn/android-rss.git 

Alternatively, you can download the sources from github.com/ahorn.

To reference the downloaded library from within your Android mobile app, navigate to the /tools/ directory and use the following command:

  android update project \
  --target <target_ID> \
  --path path/to/your/project \
  --library path/to/android-rss 

This command appends to the default.properties file in your Android project a new android.library.reference property. The value of this new property should be the relative path to the directory which you created when you fetched the Android RSS library source code.

Henceforth, android-rss is compiled when ant builds the app which was specified in the --path argument above.

However, Eclipse does not work using this method because it does not reference anything that is not an Eclipse project. When you try to transform android-rss into an Eclipse project you encounter errors due to the testing directory. To fix these, you have to change the source directory by editing the .classpath file to set /src/main/java as the source folder.

For additional questions, see also the Troubleshooting section below.

Troubleshooting

Error "android resolve to a path with no default.properties file for project": http://groups.google.com/group/android-developers/browse_thread/thread/37e7728cc2e8f315

Android library project documentation: http://developer.android.com/guide/developing/projects/projects-cmdline.html#ReferencingLibraryProject

Eclipse reports the error: "Default target help does not exist in this project" https://github.com/ahorn/android-rss/issues/2

This library uses the HttpURLConnection class, which should work for all versions of Android including upcoming versions. (At least up to API 25.)

API Usage

  RSSReader reader = new RSSReader();

String uri = "http://feeds.bbci.co.uk/news/world/rss.xml";
RSSFeed feed = reader.load(uri);
 

Discussion

http://groups.google.com/group/android-developers/browse_thread/thread/b3de98eab436be20

Resources

This library allows the usage of RxJava with the new Android M permission model.

ChipView enables you to easily create Chip list with optional click listener on each Chip.

ChipView is highly customizable to the point you can control every Chip layout and background colors (normal and selected) individually.

MAPS.ME is an open source cross-platform offline maps application, built on top of crowd-sourced OpenStreetMap data.

An Android File Sync Library with MaxLeap. Both client and server are available. Easy to build your own "Dropbox" with it.

The Android SDK has changed much since its first version. Every new version comes with many new APIs. However, there is no perfect API, some do too much under the hood, others couple your classes to the context, others have more lifecycle events than you have years in your life.

This sample project shows how to apply MVP and Clean architecture on an Android app.

Android's Bundle system works, but packing and unpacking the argument for Bundles is tedious and repetitive. This library takes care of the boilerplate.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes