Thanks for all you guys. I've got it and I will check the music player code. Thanks for the sharing.
On 5月6日, 上午9时58分, "Jonathan Alonso - Softdinet Ltda" <jalo...@softdinet.com> wrote: > Hi, > > I need send mail with format html used intent.EXTRA_TEXT > > Intent intent = new Intent(Intent.ACTION_SEND); > intent.putExtra(Intent.EXTRA_EMAIL, to.getText().toString()); > intent.putExtra(Intent.EXTRA_SUBJECT, subject.getText().toString()); > intent.putExtra(Intent.EXTRA_TEXT, "<html><body><table><tr><td> <img > src=\"http://www.gp-imports.com/emoticons/1053_winking.gif\"></img> > </td></tr></table></body></html>"; > > the message is only text, no format html, help, > > Thanks > > Cordialmente > > Jonathan Alonso > Tel: 8008035 > Softdinet Ltda > Skype: softdinet > E-mail: jalo...@softdinet.com > Web:www.softdinet.com > > -----Mensaje original----- > De: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] En nombre de Mark Murphy > Enviado el: martes, 05 de mayo de 2009 07:36 p.m. > Para: android-developers@googlegroups.com > Asunto: [android-developers] Re: Anyone who knows the details of operate a > service? > > iloveblue wrote: > > While I am playing the music in background as a service. And then a > > phone call happens, what should the service do? Will the OS (android) > > pause the service > > No, there is no "pause" with services. > > > or will the developer who develop the service write > > code to detect things like this and define the operations? > > That certainly is a possibility, perhaps using a PhoneStateListener. > > I have not written a music-playing service, or any form of background > audio. It is possible that such playback is automatically muted by the > system, via some sort of audio stream prioritization. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---