I have had no issues with droid, until i took out my wait timers. now it doesnt work all of the time, but it is faster. of course I need a fix!
On Dec 10, 4:36 pm, Jason Proctor <[email protected]> wrote: > @Override is a Java language feature, not an Android feature :-) > > maybe you need to try the hack i used to push the regular UI out of > the way when the phone rings. if you hang out for a while, *then* > start your UI activity, then it might work better. otherwise if you > start yours first, then the system starts the regular one, the > regular one wins. > > be advised that this is a hack and will not work reliably. for us, it > worked reasonably well on 1.5 and 1.6, but i think the door was > closed with the advent of 2.0 as the mechanism doesn't work at all > AFAICT on the Droid. > > hth > > > > >The program doesn't do anything until a phone call hangs up. Then > >instead of going to the call log, where you can accidentally call > >someone, it goes to a user defined place. > >I thought that @Override would replace the other action. A bad thought > >on my part? > >I have run out of ideas, as there are no listeners for ActivityManager > >to stop the call log, or anything else > >The last thing that i can think of is creating an activity to replace > >call log in android(except i would have to have an entire phone app) > >that would do what i want. > >help? > > >On Dec 10, 11:12 am, Jason Proctor <[email protected]> > >wrote: > >> what does your app do? is it trying to present UI when the phone > >> rings? replacing the phone experience is not supported, although > >> there are some hacks that work, as you say, only most of the time. > > >> �...@override is just a compiler annotation, btw. i only include it as a > >> check that i *am* actually overriding something, and not just writing > >> something that looks similar :-) it doesn't have any effect on the > >> runtime, AFAIK. > > >> >I have a program that listens for the Phone_State to change and > >> >handles the activity after. For the longest time I had used a timer to > >> >just wait for the Android default (Call Log) to happen and then > >> >started the users preference. It worked, but was not the right way to > >> >do it obviously. > > >> >Now I have gone through and put in @override in my Phone_State > >> >listener, and it works only about 85% of the time on the phones. > >> >Perfect in the emulator though. > >> >I need help figuring out why it doesnt stop the default activity from > >> >happening. > > >> >By the way, my app is a service that cannot be placed as the default > >> >for a system function. It will nojt ever let me select it if I use the > >> >DEFAULT access line in Manifest, so that is not an option! > > >> >Please help, as tons of people love my app, but I cant get it fast AND > >> >perfect! ARGH! > > >> >-Roger L > > >> >-- > >> >You received this message because you are subscribed to the Google > >> >Groups "Android Developers" group. > >> >To post to this group, send email to [email protected] > >> >To unsubscribe from this group, send email to > >> >[email protected] > >> >For more options, visit this group at > >> >http://groups.google.com/group/android-developers?hl=en > > >> -- > >> jason.vp.engineering.particle > > >-- > >You received this message because you are subscribed to the Google > >Groups "Android Developers" group. > >To post to this group, send email to [email protected] > >To unsubscribe from this group, send email to > >[email protected] > >For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > jason.vp.engineering.particle -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

