I'm creating a computer system for telemarketing. I'm using adb commands to dial numbers Link Is it possible to get last dialled number and call duration via adb? If it is, how?
Maybe you just need to pull
as it contains all the call logs, and then filter through?
cp data/data/com.android.providers.telephony/databases/telephony.db /sdcard/MyTelephoneDatabase.db
I thought I answered it long time ago. You do it like that
c:\adb\adb.exe shell sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db "SELECT * FROM calls order by _id desc limit 1;"
But it may be different in different android versions. As far as I remember worked on KitKat