bush911
8 小时 41 分钟前
Task: SMS Delete 存档
Settings: Abort Existing Task
A1: Variable Set [
Name: %Sms
To: %SMSRF ]
<gets ID of latest sms received.>
A2: SQL Query [
Mode: URI Formatted
File: content://sms
Columns: _id
Query: address = ?
Selection Parameters: %Sms
Order By: date DESC limit 1
Variable Array: %sms_id
Use Global Namespace: On ]
<stop if get ID failed.>
A3: Stop [ ]
If [ %sms_id1 !Set ]
<I assume this action take the SMS ID from URI and parse it for use in the future?>
A4: Java Function [
Return: uri
Class Or Object: Uri
Function: parse
{Uri} (String)
Param 1 (String): content://sms/%sms_id1 ]
<I think this action gets the content from the parsed URI?>
A5: Java Function [
Return: cr
Class Or Object: CONTEXT
Function: getContentResolver
{ContentResolver} () ]
<And this action is most likely the action that delete the SMS in the parsed URI.>
A6: Java Function [
Class Or Object: cr
Function: delete
{int} (Uri, String, String[])
Param 1 (Uri): uri ]