-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/16/10 21:58 , Kostya Vasilyev wrote: > Fabrizio, > > Since your data is already in a Java string, are you sure you need > to specify an encoding?
I'd be sure that I _don't_ need an encoding, but the method wants a third parameter: data A String of data in the given encoding. The date must be URI-escaped -- '#', '%', '\', '?' should be replaced by %23, %25, %27, %3f respectively. mimeType The MIMEType of the data. i.e. text/html, image/jpeg encoding The encoding of the data. i.e. utf-8, base64 I must say I don't understand this at all. What does mean "a String of data in the given encoding?". A String is Unicode 16, how can it have an encoding? Ok for base64 - it's a string representing binary contents, but how a String un utf-8 would look like? - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." java.net/blog/fabriziogiudici - www.tidalwave.it/people fabrizio.giud...@tidalwave.it -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkySofsACgkQeDweFqgUGxdy3gCgnTJGCjcKPykpMIqC4gVOA/vq dRsAmgM01i/fzFAs4uulOi8p8XxzUGmD =dDCU -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en