I am currently working on an Android Application developed in Delphi 10.2 and have most of the functionality that I need working. However I am trying to get my head around the following SharedActivity.getContentResolver.registerContentObserver
. I what to use this for detecting when an SMS has been sent via content://sms/sent
URI.
I have the code that will go and get the message using sharedactivity.getcontentresolver.query
but just struggling with the ContentObserver
part in Delphi. Have spent 2 days searching for an example but found nothing. Maybe it is not possible!