开发者

What thing is responsible for Android - SQLite access?

开发者 https://www.devze.com 2023-02-08 08:54 出处:网络
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 wo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消