Android 中 Phone 应用程序的联系人部分是否有 github 或源代码?

Is there a github or source code for the contacts portion of the Phone app in Android?

我正在尝试开发一个 Android 应用程序 - 它需要能够添加联系人。在 Android 的 Phone 应用程序中添加联系人并搜索他们的方法看起来非常好并且非常有效。有谁知道是否有一个现有的 Git 存储库,或者我如何移植源代码以具有相同的功能?澄清一下,我正在构建的应用程序不需要任何调用功能。我只是在寻找一个地方来存储联系人的姓名、地址和其他一些信息。我找到 this 但我不知道我需要哪个 类。非常感谢任何信息。谢谢!

编辑:我指的 Phone 应用看起来像 this。 这是 YouTube 视频的屏幕截图

The method of adding contacts and searching for them in the Phone app of Android looks super good and works really well.

有数百个预装 phone 和联系人应用程序,分布在数千种设备型号中,分布在约 20 亿台设备上。许多(如果不是大多数的话)这些应用程序具有独特的外观。

Does anyone know if there is an existing Git repository for this or how I could port the source code over to have the same functionality?

可能不是,因为您所看到的可能是设备制造商开发的专有应用程序。

I am just looking for a place to store contacts with name, address, and some other information

That would be ContactsContract,它是 Android SDK 的一部分。

当然欢迎您查看 the AOSP Contacts app 以获取灵感,尽管您可能不会发现它的代码特别可读。此外,该项目很可能无法在 Android Studio 中单独构建,因为大多数 AOSP 应用程序被设计为作为完整固件构建的一部分构建。