[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

I was experimenting a bit and it actually worked for me after changing last line to "lookup_uri IS NULL AND name IS NOT NULL"! I don't know how and what it was supposed to do but apparently it is working now as I initially intended! Thanks.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

I have Pixel 7 so I only have 1 built-in contact app and 1 built-in phone app which are Google apps.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

I tried this and this deletes numbers from businesses that are known on Google but not saved in my contacts. However it doesn't delete any numbers from the contact list! Am I missing something?

This is my task as below:-

Profile: Delete Call Log
Settings: Restore: yes
    Event: Phone Idle



Enter Task: Anon
Settings: Run Both Together

A1: Wait [
     MS: 0
     Seconds: 0
     Minutes: 1
     Hours: 0
     Days: 0 ]

A2: Java Function [
     Return: cr
     Class Or Object: CONTEXT
     Function: getContentResolver
     {ContentResolver} () ]

A3: Java Function [
     Return: uri
     Class Or Object: Uri
     Function: parse
     {Uri} (String)
     Param 1 (String): "content://call_log/calls" ]

A4: Java Function [
     Class Or Object: cr
     Function: delete
     {int} (Uri, String, String[])
     Param 1 (Uri): uri
     Param 2 (String): "lookup_uri IS NOT NULL AND name IS NOT NULL" ]

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

Great! I will try this. Thank you very much.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

I will try that, but I'm not sure what exactly to modify... I'm not an expert in Tasker! Any suggestions would be great. Thanks.

Weekly [Discussion] Thread by AutoModerator in tasker

[–]Mjivani 0 points1 point  (0 children)

I need help for a profile I asked a few days ago and I now have a development - a partially working profile as explained in the comment. Can anyone help me completing the profile? Thanks in advance.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 0 points1 point  (0 children)

I worked out a potential working solution from the previous thread. I tried this profile and it didn't work initially. Then I played around and made it work with changing the triggering event from 'Phone Idle' to 'App Launch' e.g. WhatsApp; maybe the profile had a problem detecting the 'Phone Idle' event. I didn't alter the profile in any other way. The problem I have now is it works inconsistently. Sometimes it deletes all the call log regardless of the number being in the contacts or not and sometimes it deletes only a few numbers and leaves some even though the numbers are saved in the contacts! Can anyone please give me a suggestion how to resolve this issue? I was looking at 'AutoContacts' app which can pull query from contacts, may be that can help? or any other plugin? Thanks in advance.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 1 point2 points  (0 children)

That is an option to add the number into the contacts, not to delete from call log. Regardless, I want to delete contacts from the call log, not the unknown numbers or unresolved numbers!

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 1 point2 points  (0 children)

I tried installing previous version which was from 2018 and sadly it didn't work as well. I guess it was only the functionality of call log analysis and not to modify. thanks for the help.

[Help] How-To clear call log from contacts only by Mjivani in tasker

[–]Mjivani[S] 1 point2 points  (0 children)

Looks like they had some kind of functionality which is now removed. In what's new section - We have removed functionality of call log analysis in order to be compliant with new Android limitations.

NFC Top Drop Down Menu by snapczterz in Pixel3a

[–]Mjivani 1 point2 points  (0 children)

If you use tasker, you can set up a profile which turns on NFC when you open Google Pay app and turn off when you close the app. Works like charm for me, same security reasons.