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 class is one i would love to override or intercept or something like that \base\telephony\java\android\telephony\gsm\SmsManager.java
Would you happen to know anyone that could help or answer my questions? I know you most people don't like to be contacted directly or asked questions directly but maybe you could ask them to have a look at this thread? Thanks for the info so far. It has not exactly been what i want to hear but it is still very useful and it is sounds more and more like i want to do the impossible. :( Just my luck. Regards, Chris On Mar 18, 10:48 am, Dianne Hackborn <hack...@android.com> wrote: > 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 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 what i am trying to do and that is why i keep > > asking but getting no responses. > > > All i want for the min is someone in the know to tell me if it is > > possible or not to intercept outgoing sms so that i can redirect them > > over the internet instead of the gsm network. Writing your own sending > > app and having users use that does not work as most uses will reply to > > sms and the reply part that sends the message is built into each sms > > client. The only place to intercept the sms is at a lower level than > > that as far as i can tell and it seems to me that anything on that > > level is not accessible. That said i am only learning Android and > > that is why i am asking for help to see if there is any options or > > anything i have over looked. Maybe on i am on the wrong discussion > > group i don't know. If i am can you point me to the correct one? > > > I really want to do things correctly and not use hacks but i am having > > trouble trying to find info on the correct way to do this. > > > Regards, > > > Chris > > > On Mar 18, 8:59 am, Dianne Hackborn <hack...@android.com> wrote: > > > 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 > > discussion > > > on android-platform with the telephony and other engineers to come up > > with a > > > design that everyone likes and will be accepted for the platform. > > > > On Mon, Mar 16, 2009 at 9: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. > > > > -- > > > 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. > > -- > 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---