Even if it does everything I want kenny it will not stop the system also sending the sms via the gsm network as well. Best case would be 2 sms been sent
On Mar 18, 1:46 am, Kenny <yxw...@gmail.com> wrote: > Reading the file frameworks/base/telephony/java/com/android/internal/ > telephony/gsm/SMSDispatcher.java, you can find handleSendComplete( ) > has a PendingIntent to send. I don't understand PendingIntent well, > only seeing the LOG code saying "SMS send complete. Broadcasting > intent ..." > > Is this <PendingIntent>sendIntent interceptable? Not sure if the > PendingIntent has extra data of SMS contents. Seer, let me know your > insight. > > Kenny > > On Mar 17, 12:54 pm, Seer <gilligan.ch...@gmail.com> wrote: > > > So if that is not the way you are meant to services such as alternate > > SMS gateways, what is? Using intents will not work as most of the sms > > apps have the reply for a thread built in. This is the only way i > > have been able to discover to capture all outgoing sms so i can either > > redirect them over the web or over the mobile network. I find it sort > > of strange that the developers of Android did not think that people > > would want to also use alternate networks and mediums to the gsm > > network for things like calls and sms. With sms prices as high as > > they are in Australia the internet can be up to 5 times cheaper to > > send them and even with data costs that is still much cheaper. > > > I know all apps are meant to be equal but some apps / services need to > > be able to do things on a much lower level or have intents or > > something for the lower level services of the phone as well. > > > I am open to any ideas you have. > > > On Mar 17, 3:31 pm, Dianne Hackborn <hack...@android.com> wrote: > > > > You can't do this. Especially from the SDK, on so many levels: > > > > 1. ServiceManager is not public. The features it contains are not > > > available > > > in the SDK. > > > 2. None of the interfaces of the services published in the service manager > > > are published in the SDK, so you wouldn't be able to redefine them anyway. > > > 3. And even if any of this were in the SDK, applications are not allowed > > > to > > > modify what is published in the service manager, and they never will be > > > able > > > to. > > > > On Mon, Mar 16, 2009 at 8:47 PM, Seer <gilligan.ch...@gmail.com> wrote: > > > > > Is there a way to access this class in the SDK or is there another > > > > class that does the same thing? I need to rename one of the services > > > > listed in the servicemanager so that it will call my service instead > > > > and then pass calls i don't handle onto the original service that i > > > > have renamed. > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support. All such questions should be posted on public > > > forums, where I and others can see and answer them.- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---