Activity代码: package com.example.android_contacts; import android.content.ContentResolver; import android.database.Cursor; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; public class MainActivity extends AppCompatActivity { private ContentResolver cr; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //获取内容访问者
Android_获取手机记事本
最新推荐文章于 2021-06-05 01:12:12 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)