我创建了一个sqlite数据库,并将通过本机代码进行更新。我该怎么做才能将其提供给只会读取数据库的其他Java 应用程序? ContentProvider是否足以实现这一目标?
答案 0 :(得分:1)
根据http://groups.google.com/group/android-developers/browse_thread/thread/6cff1cf0e10e29?pli=1,你应该使用ContentProvider:
http://developer.android.com/guide/topics/providers/content-providers.html
Content providers store and retrieve data and make it accessible to all applications. They're the only way to share data across applications; there's no common storage area that all Android packages can access
那些教程非常详细。