Hi,
I'm new to the whole automagic game, I'm looking for a flow that saves the telephone number of a incoming sms with specific text to a contact.
I got the incoming part right just don't know how to do the save number to contact part, should I use a script but then how do I do it.
Thanks
Autosave telephone number to contact
Moderator: Martin
Re: Autosave telephone number to contact
Hi,
There is no built-in action to modify a contact yet.
What kind of data would you like to add to the contact? Does the contact already exist or do you also want to create a new contact?
Regards,
Martin
There is no built-in action to modify a contact yet.
What kind of data would you like to add to the contact? Does the contact already exist or do you also want to create a new contact?
Regards,
Martin
Re: Autosave telephone number to contact
Hi,
i want to do the same.
I want to create, edit and erase contacts in the Phonebook.
I tried to use "Start Activity" but i'm not familiar with android intends.
Can you please help me?
Best regards,
Tim
i want to do the same.
I want to create, edit and erase contacts in the Phonebook.
I tried to use "Start Activity" but i'm not familiar with android intends.
Can you please help me?
Best regards,
Tim
Re: Autosave telephone number to contact
Hi,
You could start the activity to create a new contact. You will still have to press at least the save/done button manually.
Start Activity
Action: android.intent.action.INSERT
Data URI: content://com.android.contacts/contacts
Extras:
putString("name", "test");
putString("phone", "1234");
putString("email", "a@b.com");
Editing and deleting is difficult since you would have to search the contact first which is not possible with Automagic yet.
You can edit a contact you know in advance by using Start Activity, set action to android.intent.action.EDIT and select the contact in the Data URI-field ([...]-button, Contact).
Regards,
Martin
You could start the activity to create a new contact. You will still have to press at least the save/done button manually.
Start Activity
Action: android.intent.action.INSERT
Data URI: content://com.android.contacts/contacts
Extras:
putString("name", "test");
putString("phone", "1234");
putString("email", "a@b.com");
Editing and deleting is difficult since you would have to search the contact first which is not possible with Automagic yet.
You can edit a contact you know in advance by using Start Activity, set action to android.intent.action.EDIT and select the contact in the Data URI-field ([...]-button, Contact).
Regards,
Martin