[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Kenny
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

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Seer
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/

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Dianne Hackborn
If there are features missing from the current system (such as an actual API for applications to integrate with the low-level telephony SMS layer), you can look at adding those to the platform and contributing patches to have the feature in a future version. In that case, you can start a

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Seer
Dianne, Thanks for the reply. The problem is I am not sure there is not already an API for it. That is what i am trying to find out but no one is really responding to say there is or there is not. I find it really strange that there would not be some way of hooking into the lower layers or to do

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Dianne Hackborn
Sorry I can't help you, I know about the framework but not the telephony layer or individual apps like SMS. On Tue, Mar 17, 2009 at 3:54 PM, Seer gilligan.ch...@gmail.com wrote: Dianne, Thanks for the reply. The problem is I am not sure there is not already an API for it. That is what i am

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Seer
Sorry just to be clear. You work on the framework but not the base/telephony part of the framework? Is there anything in the framework that allows an application to replace or override part of a framework classes functionality? I know it is unlikely but figured it is work asking. The following

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Dianne Hackborn
On Tue, Mar 17, 2009 at 6:44 PM, Seer gilligan.ch...@gmail.com wrote: Sorry just to be clear. You work on the framework but not the base/telephony part of the framework? Yes. Is there anything in the framework that allows an application to replace or override part of a framework classes

[android-developers] Re: android.os.ServiceManager

2009-03-16 Thread Dianne Hackborn
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

[android-developers] Re: android.os.ServiceManager

2009-03-16 Thread Seer
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