My intent is to customize an existing in-built app, say Phone app. Like when i end a call, I want to show some msgs/pictures at the end of call. I know it sounds wierd... but just giving an example. So is there any way that for such a small customization, I dont have to re- write full app and instead just get some event when call ends to do the customization ?
On Mar 23, 7:15 pm, Hari Edo <hari....@gmail.com> wrote: > I think you're confused about how Android picks apps (activities) > to handle various commands (intents) that the user invokes. > > Roughly: > > * the phone radio kit receives a call > * Android asks, "hey, which app is able to answer calls?" > + If one app says it can, that app is assumed the default. > + If more than one app says it can, and one has been marked > as the default, that app is used. > + If more than one app says it can, and no default is marked, > the user is shown a list of choices. > + The user can make a choice and use it this time. > + The user can make a choice and mark it as default for > future situations as well. > * Android uses the chosen app to display a "receive call" UI. > > This scenario is not just for receiving calls. It also works > for responding to the Home button, and many many many other > situations in the Android system. > > You don't get hooks or callbacks for when applications finish-- > even the app itself may not be notified that it's being killed. > > You cannot disable this "search for intent handlers" mechanism. > It is at the core of what makes Android... Android. > > On Mar 23, 9:58 am,Kacee<komal...@gmail.com> wrote: > > > Hello All, > > > I want to change default behavior of one of the in-built application > > like Phone/SMS/etc. I got to search on forums that there is an option > > in > > Settings>Launch By Default > There "Clear defaults" > > The "Clear default" button on right is disabled for both in-built and > > any other downloaded app. > > > 1) Are there any special settings to disable it from custom(non in- > > built) app? > > 2) If once I change Clear Default using "ClearDefault" app available > > on market , is it possible to set the original default application > > back to "active/defaults" ? > > > I want to change behavior of app after it is just about to complete. > > Can i get some event/ack that "abc app has finished" so that I can > > start my app after that ? -- 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