I'm building a functional architecture.
With regard to the following android application framework diagram here, I'm wondering which software component at the android application framework layer would be responsible for providing the SQLite interface? I know that the android.database package gives the developer the necessary API to access the underlying SQLite database, but if we think of the "application framework layer", where is this provided? For example, the "Notification Manager" allows applications to display custom alerts. What component gives us datab开发者_StackOverflow中文版ase access? The reason I ask is for the purposes of documentation. Many thanks
The SQLite API is deliberately not a component of the Application Framework Layer. It's a library. Like the other libraries, it can (theoretically) be used by any of the Application Framework components, but it's intended mainly for use by your application classes.
If you must map it into the Application Framework layer, you could say it's under the "Content Providers" bubble, but I think that would be more misleading than helpful.
精彩评论