M Marcomio New Member Friday at 6:21 PM #1 Hello everyone, Does the "deletecalllogs" function from the Myfirst library work with Android 17 and One UI 9? If it doesn't, is there a new function available for deleting a specific number from the call logs? Thanks
Hello everyone, Does the "deletecalllogs" function from the Myfirst library work with Android 17 and One UI 9? If it doesn't, is there a new function available for deleting a specific number from the call logs? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sunday at 6:03 AM #2 The required permissions are restricted to the "default messaging app": https://www.b4x.com/android/forum/t...ssions-are-no-longer-available.98100/#content If this isn't a Google Play app then you might be able to get it working. Upvote 0
The required permissions are restricted to the "default messaging app": https://www.b4x.com/android/forum/t...ssions-are-no-longer-available.98100/#content If this isn't a Google Play app then you might be able to get it working.
M Marcomio New Member Sunday at 9:28 AM #3 Dear friends I am using Manifest: AddPermission(android.permission.READ_CALL_LOG) AddPermission(android.permission.READ_CONTACTS) Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim mfl As MyFirstLib Private rp As RuntimePermissions End Sub Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("leggi") rp.CheckAndRequest(rp.PERMISSION_READ_CALL_LOG) rp.CheckAndRequest(rp.PERMISSION_WRITE_CALL_LOG) End Sub Sub Button2_Click mfl.deletecalllogs("+44000000000") ' where +44000000000 is a string with the number to be deleted from calllogs Activity.finish End Sub This is the code I’m using; where is the error? Can anyone help me? Thanks, everyone. Upvote 0
Dear friends I am using Manifest: AddPermission(android.permission.READ_CALL_LOG) AddPermission(android.permission.READ_CONTACTS) Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim mfl As MyFirstLib Private rp As RuntimePermissions End Sub Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("leggi") rp.CheckAndRequest(rp.PERMISSION_READ_CALL_LOG) rp.CheckAndRequest(rp.PERMISSION_WRITE_CALL_LOG) End Sub Sub Button2_Click mfl.deletecalllogs("+44000000000") ' where +44000000000 is a string with the number to be deleted from calllogs Activity.finish End Sub This is the code I’m using; where is the error? Can anyone help me? Thanks, everyone.
jahswant Well-Known Member Licensed User Longtime User Sunday at 10:44 AM #4 You can no longer do that on new android versions. Upvote 0