I am working on Text Sharing on From my Android Application . I have used the following code.
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
String text="http://google.com";
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT,text);
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Message");
startActivity(Intent.createChooser(sharingIntent, "Share using"));
If I will this code means it shares link correctly and shows like following image !
Attached Image
When I am using normal text like “sample content” means it is not accepting and showing the text …. I need to share the text instead of that link .. please help me …
Its working correctly for Gmail and Twitter also.
Waiting for better response….. Thanks in Advance
This is a limitation with the (stupid) Facebook app. They know about it, but apparently don’t want to fix it.
Your only option is to implement Facebook sharing using their API.