문제 설명
모든 애플리케이션에 대한 Android 앱에서 데이터 공유 (Share Data in android app for all applications)
안드로이드에서 모든 애플리케이션에 대해 데이터(txt 또는 이미지 ....)를 공유하는 방법
예:
모든 애플리케이션에 대해 Android에서 데이터 공유(txt 또는 이미지 ....)
페이스북에서 수행하지 않는 코드
의도 sendIntent = new Intent(android.content.Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "전송할 텍스트입니다."); sendIntent.setType("텍스트/일반"); startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_to)));
참조 솔루션
방법 1:
You can only share links using an intent. you need Facebook Sdk to share text or images
(by Majd、user5534193)