Hi,

I'm unsure if this is a feature or a bug.

What I'm trying to do is to pass some styled text between two
activities.

        final Intent intent = new Intent(this, ActivityB.class);
        intent.putExtra("message", Html.fromHtml("My <b>image</b> <br />
<img src=\"http://example.com/image.png\"; />", imageGetter, null));
        startActivity(intent);

Then when I retrieve my text in the new Activity the entire img tag is
replaced by &#65532; (OBJ - symbol).

        CharSequence message = intent.getCharSequenceExtra("message");

        ----START message----
        <p>My <b>image</b> <br>
        &#65532;</p>
        ----END----

Any thoughts?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to