Boa tarde,
-- Pessoal,
uso o código abaixo para compartilhar o texto no Android, porem o mesmo não tem sucesso no KitKat.
Intent intent = new Intent();
intent.putExtra(Intent.EXTRA_SUBJECT, "Texto teste compartilhamento");
intent.putExtra(Intent.EXTRA_TEXT, "Texto compartilhado");
intent.setType("text/plain");
startActivity(Intent.createChooser(intent, "Compartilhar"));
Vocês já passaram por isso ?
Att,
Cleibson Gomes da Silva
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário