Android课件数据存储与访问(4).pptVIP

  • 5
  • 0
  • 约1.71万字
  • 约 61页
  • 2018-12-03 发布于江西
  • 举报
* public class MyProvider extends ContentProvider { private static final String myURI = content://vider.myapp/items; public static final Uri CONTENT_URI = Uri.parse(myURI); @Override public boolean onCreate() { // TODO: Construct the underlying database. return true; } // Create the constants used to differentiate between the different URI // requests. private static final int ALLROWS = 1; private static final int SINGLE_ROW = 2; private static final UriMatcher uriMatcher; 内容提供器 * // Populate the UriMatcher object, where a URI ending in items will // correspond

文档评论(0)

1亿VIP精品文档

相关文档