간단한 데이터 공유
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 앱의 장점 중 하나는 앱 간에 서로 통신하고 통합할 수 있다는 것입니다. 내 애플리케이션의 핵심이 아닌 기능이 다른 애플리케이션에 이미 있는데 그 기능을 다시 만드느라 고생할 이유는 무엇일까요?
이 섹션에서는 Intent
객체가 있는 Android Sharesheet 및 인텐트 리졸버를 사용하여 애플리케이션 간에 간단한 데이터 (예: 텍스트, 이미지, 파일)를 보내고 받을 수 있는 일반적인 방법을 설명합니다.
과정
- 다른 앱에 단순 데이터 보내기
- Android Sharesheet 및 인텐트 리졸버를 사용하여 다른 애플리케이션에 텍스트와 기타 데이터를 전송할 수 있도록 애플리케이션을 설정하는 방법을 알아보세요.
- 다른 앱에서 단순 데이터 받기
- 인텐트에서 텍스트 및 기타 데이터를 수신하도록 애플리케이션을 설정하는 방법을 알아보세요.
참고: 애플리케이션 내의 공유 작업을 표시하는 데 ActionProvider
를 사용하지 않는 것이 좋습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Sharing simple data\n\nOne of the great things about Android apps is their ability to communicate and\nintegrate with each other. Why reinvent functionality that isn't core to your application when it\nalready exists in another application?\n\nThis section covers some common ways you can send and receive simple data (like text, images and files) between\napplications using the Android Sharesheet and Intent Resolver with\n[Intent](/reference/android/content/Intent) objects.\n\nLessons\n-------\n\n**[Sending Simple Data to Other Apps](/training/sharing/send)**\n: Learn how to set up your application to be able to send text and other data to other\n applications with the Android Sharesheet and intent resolver.\n\n**[Receiving Simple Data from Other Apps](/training/sharing/receive)**\n: Learn how to set up your application to receive text and other data from intents.\n\nNote: use of [ActionProvider](/reference/android/view/ActionProvider)\nto show share actions within your application is highly discouraged."]]