ContactsSaver: Add contacts without using activity starter

1.Introduction

Description: This extension adds contact to phone without opening Contacts app.
LatestVersion: 1.1
Released: 2021-02-15T18:30:00Z
Last Updated: 2021-09-30T18:30:00Z
Permissions: android.permission.READ_CONTACTS,android.permission.WRITE_CONTACTS

2.Blocks

image

image

3.Usage

Create an empty contact
image
It will trigger ContactCreated event with rawContactId as result if process was successful.
Add display name
image

Add phone number
image

Add email
image

Delete contact
image

4.Downloads

Download Link:
com.sunny.ContactsSaver.aix (16.4 KB)

If you liked this extension, then kindly consider donating some money to help me to remain motivated. :heart:

ChangeLog Version 1.1
  • Added UpdateData, DeleteContact and GetRawContactId methods

Hope it helps!

16 Likes

nice extension.

off-topic

Gajab...
kyaaa likha hai kavi ne. maja aagya . aatank macha diya. kehar daaldiya.

5 Likes

This extension is open source now:

2 Likes

what happens if phone number is already have it,s country code

This extension can only do insert operations so you can add a data only when it is not already present.

1 Like

I need AIA file. Please send.

see the demo blocks carefully it is pretty easy to use

1 Like

also thanks for this free extension

3 posts were split to a new topic: Help me use the ContactsSaver extension

Dear Mr.@vknow360

I've tried this extension in my project and the extension is working fine, but one thing is lacking that is, I can't check if the contact I created is pre-available or not, so I hope you can add a function to check if a contact is pre-available or not. Thank you :wink:

Best Regards,
Salman Dev

2 Likes

You can try getting rawContactId from phone number to know if a contact already exists.

3 Likes

Ironically, this extension works better than the in-built contact system in my phone...

1 Like

I tried using your ext to add user contacts to my mobile contact list but not sure why it's not working.

Unfortunately, information you provided is not sufficient to understand the issue.

Having a problem with Permission Denial: how to I give the app permissions to write to the contacts?

Please check Screen blocks.You will find AskForPermission method.

Do you have a block to show how I ask for that specific permission?
And a block showing what I do once the client clicks yes?

Thank you for the extension.
I have multiple google accounts. The extension is saving contact to the wrong google account (not the default).
How can I choose to save to the default/different account?