Call logs

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ideabcn
Posts: 2
Joined: Mon Nov 09, 2020 9:18 am

Call logs

Post by ideabcn » Mon Nov 09, 2020 9:25 am

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!
Last edited by ideabcn on Fri Nov 13, 2020 1:33 pm, edited 1 time in total.

keliko
Posts: 85
Joined: Thu Aug 01, 2019 8:15 am

Re: Call registry

Post by keliko » Wed Nov 11, 2020 10:53 am

I also ask the same thing. someone might be able to explain it.

ideabcn
Posts: 2
Joined: Mon Nov 09, 2020 9:18 am

Re: Call logs

Post by ideabcn » Tue Nov 17, 2020 1:53 pm

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!

Post Reply

Return to “Android Deployment”