B4A Tutorial SMS and CALL_LOG permissions are no longer available - Erel    Oct 10, 2018   (12 reactions) Google has changed their policy regarding the following permissions:
READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS
READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS
Only the default phone or messaging apps can use these permissions:
https://support.google.com/googleplay/android-developer/answer/90 B4A Question ContentResolver error : "Invalid token limit" - drgottjr (first post)    Nov 02, 2021 BA.Log( cursor.getCount() + " found.");
cursor.moveToFirst();
int number = cursor.getColumnIndex(CallLog.Calls.NUMBER);
int type = cursor.getColumnIndex(CallLog.Calls.TYPE);
int date = cursor.getColumnIndex(CallLog.Calls.DATE);
int duration = cursor.getColumnIndex(CallLog.Calls. B4A Question Undeclared variable 'RunLog' is used before it was assigned a value - LucaMs (first post)    Apr 08, 2018   (1 reaction) This happens because you can not call a routine in that way (.) if the routine is in a Service. You should use CallSub2 (CallSub2(Starter, "RunLog", "your message")) or CallSubDelayed2 or, better I think, move the routine to a Code Module. B4A Question Calls from specifed number - Brandsum (first post)    Dec 13, 2018   (1 reaction) Include Phone Library. Dim Calls As List Dim CallLog As CallLog Calls = CallLog.GetAll(0) 'Get the last 10 calls For Each c As CallItem In Calls.Size If c.Number = "YOUR SPECIFIC NUMBER" Then Dim callType, name As String Select c.CallType Case c.TYPE_INCOMING B4A Library [B4X] [XUI] AS TextFieldAdvanced - Title, Information, Counter, Password, Button, Prefix, Suffix, Icons, Multiline - Alexander Stolte    May 17, 2024   (57 reactions) something RequiredFieldColor As Int Call Refresh if you change something RevealButtonLabel As B4XView Reveale ShowClearButton As Boolean Call Refresh if you change something ShowRevealButton As Boolean Call Refresh if you change something Suffix As ASTextFieldAdvanced_Suffix Call Refresh if you ch B4A Question Empty CallLog/Callitem.CachedName in Android 6.0.1 - Erel (first post)    Aug 28, 2016 The library returns the value directly from the call content provider.
You can use ContactUtils to search for contacts based on the phone number. B4A Question CallLog samsung - Croïd (first post)    Apr 01, 2018 I think it's a problem with this phone, now it works !!
Log("Number=" & cAppel.Number & ", Name=" & name & ", Type=" & callType & ", Date=" & DateTime.Date(cAppel.Date))
thanks B4A Question Android permissions - stratus    Mar 14, 2017 I try to access my phone's call logs using this code
Dim Calls As List
Calls.Initialize
Dim CallLog As CallLog
Calls = CallLog.GetAll(10) 'Get the last 10 calls
For i = 0 To Calls.Size - 1
Dim c As CallItem
c = Calls.Get(i)
Dim callType, name As String
Select c.CallT B4A Question sending message to waiting queue (CallSubDelayed - BattChgd) - Derek Johnson (first post)    May 01, 2019 ", 2000)
' RecognizerIntent.PutExtra("android.speech.extras.", 1000 * 10)
TLogcolor(" Creating Starting intent",ColorByName.Yellow_DarkGoldenrod)
Dim Event As Object = JO.CreateEvent("android.speech.RecognitionListener","Received","")
JO.RunMethod("setRecognitionListener" B4A Question Get outgoing Call number?? - a n g l o (first post)    Apr 07, 2017   (1 reaction) i came across this post that is almost a year old and i see that the the questioner did not get exactly the answer he was looking for : 1. get the outgoing call number (via a service) 2. not having to use android.permission.PROCESS_OUTGOING_CALLS i don't believe he's still waiting for the answer... Page: 1   2   3   4   5   6   7   Powered by ColBERT |