Bonjour à tous !

J'essaye d'envoyer un mail avec une image dans le corps du mail sous forme d'HTML.
J'ai codé ceci:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType("text/html");   
BTMailComposer mailComposer = ((BTMailComposer)BTCore.getInstance().getModule(keyModule).getEntity());		
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, mailComposer.to);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, mailComposer.subject);		
emailIntent.putExtra(android.content.Intent.EXTRA_STREAM, Uri.fromFile(photoFile));
emailIntent .putExtra(android.content.Intent.EXTRA_TEXT,Html.fromHtml("<div><img src='http://www.foo.com/goo.png'/><b>bla bla bla</b></div>"));			
 
startActivity(Intent.createChooser(emailIntent, getApplicationContext().getResources().getString(R.string.sendMail)));
J'aurais voulu qu'il l'interprête dans l'interface graphique... Il me met un caractère bizare à la place...

Pouvez-vous m'aider ?

Merci par avance !