(1) - yes the other app will still receive broadcasts, expose providers, services, etc... The choice only happens for calls to startActivity that hit two or more equivalent activity intent filters.
(2) - in settings / manage applications, preferences can be removed. Or by uninstalling your application. (3) - I don't know whether that can be queried in the package manager. JBQ On Thu, Mar 5, 2009 at 9:05 PM, Shadakshari Hiremath <shad...@gmail.com> wrote: > > Thanks for all the valuable responses. I wasn't aware of the feature > "User will be given a choice when doing an action that can be handled > both by the built-in application and by your application". So, my > approach was to replace built in app. User choice is best approach as > user is going to decide which application he wants to make default. > > Continuing on my previous question. Assuming user makes my application > as default. > > - Will built in app be able to receive broadcast events related to > call state change, netwrork state change, new SMS arrival, boot > completed etc if it has registered for these? I want to ensure that > both applications don't respond to same unsolicited broadcast events > and lead to confusion to user say by showing two notifications in home > screen. This is just a scenario I am considering. > > - How to make the built application default again? > > - Will the built in application and my application be informed about > whether it is default application or not? and how? > > Regards, > Shaddu > > On 05/03/2009, Lars <lars.bra...@gmail.com> wrote: >> >> The built-in applications are located in /system/app. Since /system is >> mounted read-only you cannot uninstall them unless you mount this file >> system read-write and even then I'm not sure if they can be >> uninstalled with adb uninstall... Also, I don't think you can change >> to read-write on a real device since you don't have root access. >> >> BR >> Lars Brange >> >> >> On Mar 5, 3:12 pm, shaddu <shad...@gmail.com> wrote: >>> Hello Android, >>> >>> We are plannig to write a new music application from scratch. >>> Also we want to uninstall the built-in music application to ensure >>> only our application resides on the phone. adb ls /data/app command >>> doesn't list built-in applications. So, I am unable to uninstall the >>> built in music application without knowing its name. So, I am getting >>> a feeling like built in applications uninstallation is handled in >>> different way. >>> >>> Please provide the full command to uninstall built-in music >>> application. >>> >>> Regards, >>> Shaddu >> >> > >> > > > > -- Jean-Baptiste M. "JBQ" Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---