Android檢視簡訊資料庫

2021-07-29 19:27:27 字數 364 閱讀 7621

一、首先,得找一部root過的手機。

1、進入命令視窗。ctrl + r ,cmd 確認

2、adb pull /data/data/com.android.providers.telephony/databases/mmssms.db mmssms.db 在命令視窗中輸入這條指令。

3、如果報沒有許可權的錯誤。執行以下操作:

adb shell

sucd data/data/[package name]/databases

chmod 664 ***.db

ctrl+c

再次執行步驟2即可。

二、檢視匯出的資料庫:

具體怎麼選擇可以參考

android簡訊模組資料庫

路徑 data data com.android.providers.telephony databases mmssms.db sms的uri content sms 發件箱 content sms outbox 收件箱 content sms inbox 草稿箱 content sms draf...

資料庫獲取 Android 簡訊

讀取簡訊需要的許可權 讀取資料庫簡訊方法 public static list getsmscode null,null,date desc 第二種,通過查詢條件,例如 date lasttime,過濾資料 uri.parse content sms new string,date new stri...

資料庫獲取 Android 簡訊

android name android.permission.read sms public static list getsmscode null,null,date desc 第二種,通過查詢條件,例如 date lasttime,過濾資料 if cursor null 返回所有的簡訊 ret...