社交应用和即时通讯应用简介
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
社交媒体和即时通讯应用彻底改变了我们建立联系、沟通和分享信息的方式,为我们提供了进行公开对话、私人消息传递、媒体创作、照片和视频分享,甚至直播的空间。如果您的应用提供上述任何体验,您可以在本开发者中心找到相关资源,帮助您创建、扩展、提升和优化此类体验。
此开发者中心涵盖社交功能的三个方面:
即时通讯
通信是社交应用的核心功能,Android 创建了专用 API,用于集成应用的消息功能,为用户提供了更多互动途径。了解如何可靠地发送和接收消息,以及如何通过丰富的表情符号支持、Android 图片键盘和其他富文本来源中的贴纸和图片,以及直接与其他应用分享文本和媒体内容,提升应用的功能。
了解详情 升级
无论您的应用是集成图片和视频,还是提供沉浸式音频体验,媒体都能丰富用户互动并提升应用互动度。Android 不断改进 API,以最大限度地简化图片和媒体集成的复杂性,同时使用户体验更加集成和一致。了解如何高效加载较大位图、支持直播以及处理播放控制和播放器界面。
提升应用的功能,以支持 UltraHDR 图片和 HDR 视频、启用画中画、实现 Cast Connect 等。
了解详情 升级
社交和通讯应用支持拍摄视频、编辑照片和处理媒体内容的情况越来越普遍,Android 创建了一些库,可简化与应用的集成,同时帮助您支持最新的设备和平台功能。
了解如何拍摄照片和视频、编辑视频、访问用户媒体库以及分享到其他应用和服务。支持 UltraHDR 图片拍摄、HDR 视频、零快门延迟等功能,提升应用的功能。
了解详情 升级
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-26。
[null,null,["最后更新时间 (UTC):2025-03-26。"],[],[],null,["# About social and messaging apps\n\nSocial and messaging apps have revolutionized how we connect, communicate, and\nshare information, offering spaces for public conversations, private messaging,\nmedia creation, photo and video sharing, and even live broadcasts. If your app\ndoes any of this, you'll find resources in this developer center to help you\ncreate, extend, level up, and optimize these types of experiences.\n\nThis developer center covers three areas of social features:\n\n- [Messaging and communication](#messaging-and-communication)\n- [Media display and playback](#media-display)\n- [Media capture, creation, editing, and sharing](#media-creation)\n\nMessaging and communication\n---------------------------\n\nCommunication is a core function of social apps, and Android has created bespoke\nAPIs that [integrate your app's messaging features](/develop/ui/views/notifications/conversations), providing more surfaces\nfor users to interact with. Learn how to [send and receive messages\nreliably](https://firebase.google.com/docs/cloud-messaging), as well as how to [level your app up](/social-and-messaging/guides/communication/basic-better-best) with [rich\nemoji support](/develop/ui/views/text-and-emoji/emoji-picker), stickers and images from [Android's image keyboard and other\nrich text sources](/develop/ui/views/receive-rich-content), and\nsupport for [sharing text and media](/training/sharing/send) directly to other apps.\n\n[Learn More](/social-and-messaging/guides/communication) [Level Up](/social-and-messaging/guides/communication/basic-better-best)\n\nMedia display and playback\n--------------------------\n\nWhether your app integrates images and videos or delivers immersive audio\nexperiences, media enriches user interactions and elevates app engagement.\nAndroid continues to evolve APIs that minimize the complexity of integrating\nimages and media while making the user experience more integrated and\nconsistent. Learn how to [load large bitmaps efficiently](/topic/performance/graphics/load-bitmap), support\n[live-streaming](/media/media3/exoplayer/live-streaming), and handle [playback controls and player UI](/media/media3/ui/overview).\n[Level up your app](/social-and-messaging/guides/media-playback/basic-better-best) to support [UltraHDR](/media/grow/ultra-hdr-display) images and [HDR](/media/grow/hdr-playback) video,\nenable [picture-in-picture](/develop/ui/views/picture-in-picture), implement [Cast Connect](https://developers.google.com/cast/docs/android_tv_receiver),\nand more.\n\n[Learn More](/social-and-messaging/guides/media-playback) [Level Up](/social-and-messaging/guides/media-playback/basic-better-best)\n\nMedia capture, creation, editing, and sharing\n---------------------------------------------\n\nIt's increasingly common for social and communication apps to support capturing\nvideos, editing photos, and processing media content, and Android has created\nlibraries that simplify integration into your app while helping you support the\nlatest device and platform features.\n\nLearn how to [capture photos and videos](/media/camera/camerax), [edit videos](/media/media3/transformer), [access user\nmedia libraries](/training/data-storage/shared/photopicker), and [share to other apps and services](/training/sharing/send#using-android-system-sharesheet). [Level up your\napp](/social-and-messaging/guides/media-creation/basic-better-best) with support for [UltraHDR image capture](https://github.com/android/platform-samples/blob/main/samples/camera/camera2/src/main/java/com/example/platform/camera/imagecapture/Camera2UltraHDRCapture.kt), [HDR\nvideo](/media/camera/camera2/hdr-video-capture), [zero shutter lag](/media/camera/camerax/take-photo#zero-shutter-lag), and more.\n\n[Learn More](/social-and-messaging/guides/media-creation) [Level Up](/social-and-messaging/guides/media-creation/basic-better-best)"]]