Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Unable to share on Facebook using createChooser()

Unable to share on Facebook using createChooser()

Put your problem here if it does not fit any of the other categories.

Unable to share on Facebook using createChooser()

Postby anaeem » Wed Sep 14, 2011 3:37 am

I am using following code to share text using sharing option similar to Android Gallery. When I select Facebook it takes me too facebook interface (Post to your wall) with an empty text box. Why text box is not populated with text that I want to share?

Also if I share text with gmail, text is there.

Here is the code

Code: Select all
Intent i=new Intent(android.content.Intent.ACTION_SEND);
             i.setType("text/plain");
             i.putExtra(Intent.EXTRA_SUBJECT, "some text");
             i.putExtra(Intent.EXTRA_TEXT, Share_Text);
             startActivity(Intent.createChooser(i, "Share..."));
anaeem
Experienced Developer
Experienced Developer
 
Posts: 85
Joined: Mon May 03, 2010 6:15 am
Location: Texas

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 12 guests