bonjour;
jessaie d'envoyer un email a partir d'une application sans succes j' obtiens comme réponse:
"aucune application ne peut effectuer cette action"
voici mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 public void envoimail(){
           Intent i=new Intent(Intent.ACTION_SENDTO) ;
        i.setType("message/rfc822");
        i.putExtra(Intent.EXTRA_EMAIL,"pauger2@free.fr");
        i.putExtra(Intent.EXTRA_SUBJECT,"planning");
        i.putExtra(Intent.EXTRA_TEXT,"Bravo c'est terrible");
        startActivity(Intent.createChooser(i,"Send EMail"));
 
 
    }