\data\com.sec.android.provider.logsproviders\logs.db SQLite query
master
Costas K 5 years ago committed by GitHub
parent 7f8329bd73
commit bd13b63359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ Select
when 4 then 'pay phone' --Number is a pay phone when 4 then 'pay phone' --Number is a pay phone
else logs.presentation else logs.presentation
end as 'CallerID', end as 'CallerID',
datetime(logs.date/1000, 'unixepoch') as 'Date', datetime(logs.date/1000, 'unixepoch') as 'lDate',
case case
when logs.duration != 0 when logs.duration != 0
then Time(logs.duration, 'unixepoch') then Time(logs.duration, 'unixepoch')
@ -54,11 +54,11 @@ Select
case case
when logs.logtype in (100) when logs.logtype in (100)
then 'Call ('||logs.logtype||')' then 'Call ('||logs.logtype||')'
when logs.logtype in (200,300,500) when logs.logtype in (300)
then 'Message ('||logs.logtype||')' then 'SMS ('||logs.logtype||')'
when logs.logtype in (400) when logs.logtype in (400)
then 'Email ('||logs.logtype||')' then 'Email ('||logs.logtype||')'
else logs.logtype else 'Other ('||logs.logtype||')'
end as 'logtype', end as 'logtype',
logs.messageid, logs.messageid,
case logs.is_read case logs.is_read
@ -74,6 +74,6 @@ Select
logs.raw_contact_id, logs.raw_contact_id,
logs.lookup_uri, logs.lookup_uri,
logs.photo_id, logs.photo_id,
logs.account_name||' ('||logs.account_id||')' as 'Account' logs.account_name||' ('||logs.account_id||')' as 'Account'
from logs from logs
order by lDate desc
Loading…
Cancel
Save