[android-developers] Question about SMS processing
Hello Everyone: I am doing a basic handling of the SMS, and I have complete the functions of send and receive the SMS, but I want to do them better. About receiving the SMS, I have some question, I have one Application on the Android which I called MyApp, it has a broadcastReceiver extended class which will handle while the SMS comes, and pickup some special SMS which is used in MyApp, such as SMSMYAPP:xx, then I think it is useless to the system SMS receiver. And so I donot want the system SMS receiver to get this SMS, and show the notification about this comes. But I cannot find any useful information about donot give the SMS to the system SMS receiver, I've tried abortBroadcast() but it shows errors in Logcat. Can anyone give some suggestion about this? Or just tell me it is impossible to do this for some security questions? Thanks very much. I have look for this for days. Any words could be help. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: send mail with format html
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, htmlbodytabletrtd 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 -~--~~~~--~~--~--~---
[android-developers] Anyone who knows the details of operate a service?
Hello: I have a question about service, take a music player for example. 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, or will the developer who develop the service write code to detect things like this and define the operations? I did not find any material about this question, so I raise a new post here to find if anyone who is clear about this? Or can introduce me some material to read. Thanks very much! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---