The org.positronicnet.content
package provides common infrastructure,
and a common fluid interface, for
accessing both SQLite Databases (via the Database
class) and Android ContentProvider
s (via
org.positronicnet.content.PositronicContentResolver).
Positronic Net support for database operations; see the Database class for an overview.
Utilities for resource management
The notifications package provides machinery to help "business model" classes (the M in MVC) communicate with UI code that wants to View or Control their state.
The Positronic Net ORM tries to abstract away a lot of the boilerplate
involved in dealing with data managed through cursors (or, more
precisely, any data which can be accessed through a
ContentRepository; that currently
includes both SQLite Databases and
Android ContentProvider
s, via
org.positronicnet.content.PositronicContentResolver --- though
ContentProvider support is currently less than perfect, due to lack
of support for batched updates.
Shorthand notations for common UI tasks
The Positronic Net framework tries to make Android programming in Scala more pleasant, by providing shorthand notations for common tasks, in the ui and elsewhere (without hiding the platform API if you prefer it, or want to do something for which there's no shorthand), and providing cleaner abstractions for dealing with persistent storage (via the content abstractions, and the orm).
See below for details.