Page 1 of 1

Call logs

Posted: Mon Nov 09, 2020 9:25 am
by ideabcn
Hi!

I'm lokking a way to get the last calls received in an android phone. The aim is to copy the last call (phone number) received and use it in the app to resend an SMS. I've already running the SMS service by API, but have no clue about how to get the phone number from the calls received.
Your help is welcome!

Re: Call registry

Posted: Wed Nov 11, 2020 10:53 am
by keliko
I also ask the same thing. someone might be able to explain it.

Re: Call logs

Posted: Tue Nov 17, 2020 1:53 pm
by ideabcn
The call log is stored at: URI
/data/data/com,android,providers,contacts/databases/contacts2,db
(I had to change dots (.) by commas (,) in order to sow the path.

It seems a root access is needed in oder to write/edit records, but, so far I've readed, the database can be handled by SQLlite3 and can be accesed for read only purpose.
Some apps available in the google play sotre can retrieve information from this database, can Livecode access the database and read it?

Test needed!