Google

Google: A more reliable way to add and edit contacts on Android

Original post A more reliable way to add and edit contacts on Android

Article Summary

Roxanna Aliabadi Walker from Google reveals a major shift in Android contact management. If your app uses WRITE_CONTACTS permission, you'll need to refactor before the next Android release—or face SecurityExceptions.

Android is deprecating direct contact writes for apps targeting the upcoming release (2027). Instead of requesting WRITE_CONTACTS permission for broad background access, developers must use standardized contact intents that give users control. Google is also introducing MANAGE_CONTACTS, a special permission for apps whose core purpose is contact management.

Key Takeaways

Critical Insight

Android is moving from permission-based contact writes to user-controlled intents, affecting every app that saves contacts but providing a simpler, permission-free path for most use cases.

Continue reading

What This Article Covers

Problem

Google discovered that custom data types sent through Insert.DATA with non-standard MIME types get silently ignored. On top of that, the system editor doesn't handle SHOW_OR_CREATE_CONTACT at all.

Solution

Google's advice is for developers to search their codebase for WRITE_CONTACTS, RawContacts.CONTENT_URI, Data.CONTENT_URI, and applyBatch calls, then swap them out for ACTION_INSERT or ACTION_EDIT intents.

Impact

This means apps such as social networking tools or P2P payment services, along with business card scanner apps, can fully migrate using just the Contact Picker and ACTION_INSERT with EXTRA_PHOTO_URI. No background permissions are needed.

The article includes detailed migration code samples and a decision matrix showing whether your specific app type qualifies for the new MANAGE_CONTACTS permission.

This page summarizes “A more reliable way to add and edit contacts on Android” by Google, published Oct 21, 2026. All credit for the original work goes to the authors.

Read the original on developer.android.com (opens in new tab)

AI tools for Android

Browse all AI tools →