Hello friends i want to share text and sdcard image at a same time with using share intent in android below is my code in on button click.
Intent share = new Intent(android.content.Intent.ACTION_SEND);
share.setType("text/plain,image/*");
String imagePath = Environment.getExternalStorageDirectory()
+ "/myfolder/1407156604780.png";
File imageFileToShare = new File(imagePath);
Uri uri = Uri.fromFile(imageFileToShare);
share.putExtra(Intent.EXTRA_STREAM, uri);
share.putExtra(Intent.EXTRA_SUBJECT, "Title Of The Post");
share.putExtra(Intent.EXTRA_TEXT, "fdsfdsfdsfds");
startActivity(Intent.createChooser(share, "Share image to..."));
using above code share dialog is open but facebook option not show to me ,but in my device facebook application already there so hoe can i set multiple setType property for text as well as image share to facebook ?