Intent i = new Intent(Intent.ACTION_SEND);
i.setType("text/html");
String str = et.getText().toString();
i.putExtra(android.content.Intent.EXTRA_TEXT,str);
startActivity(Intent.createChooser(i,"Share using"));
I can't open Facebook and Twitter with this code in Android but other applications like Gmail and Skype are opened successfully. Why's that? And how do I open Facebook and Twitter?