利用ContentResolver访问者获取手机短信信息,在此记录一下,一遍以后查询。
成都创新互联公司-专业网站定制、快速模板网站建设、高性价比神木网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式神木网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖神木地区。费用合理售后完善,10年实体公司更值得信赖。首先看一下结果,结果如下:

activity_message.xml类:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_message" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="com.example.android_25.MessageActivity"> <ListView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/lv_message" > </ListView> </LinearLayout>