I am developing a Contacts Application for Android. Now how can I replace Default out of the box Contacts Application with my new application?
I am developing a Contacts Application for Android. Now how can I replace Default
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot replace an Android system application (meaning one bundled with the device when shipped) with one of your own unless you are creating a custom ROM image…period.
You may, however, emulate that application’s functionality so that anytime a user would be presented with an option to jump into the default Contacts app, they can choose yours instead. You do this by exposing that your application responds to the same list of Intents as that particular app. Here is a link to the current Contacts manifest to give you an idea of which Intents it responds to.
The user will be presented with an option to select your app as the default when triggering a Contacts related action. IF THE USER CHOOSES to make your application the default handler of these activities, they may do so, but there is not way to force that decision upon them.
HTH