This simple RRS Reader is a sample app that takes an BBC's RSS feed channel
http://feeds.bbci.co.uk/news/rss.xml?edition=int
and try to download it locally and persists with Kripton into a SQLite database.
This simple app was built as showroom for some features of Kripton:
- Integration with Retrofit to consume REST service
- Convert XML into Java beans
- Persist data on SQLite database
- How to embed an entity in a field and how to use it as sqlite table
- How to use a unique model rapresentations for REST services and SQLite persistence
- SQLite type adapter usage
- SQLite relationship definition
- How generate Live Data from DAO queries
- How to write queries in compact mode
- How to use dynamic where conditions in SQL queries
To copy database from emulator to workstation just use:
adb pull /data/data/com.abubusoft.kripton.examples.rssreader/databases/rss.db
adb exec-out run-as com.abubusoft.kripton.examples.rssreader cat ./databases/rss.db > rss.db
