Salut,
je veux partager une article sur n'import quel application installé sur smartphone, et j'ai ce code mais ça marche pas pour facebook
pour mail, gmail, twitter ça marche
j'ai besoin de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType("text/plain"); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, txtTitre.toString()); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, txtdetail.toString()); startActivity(emailIntent);
Partager