Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I've set defaults apps for many actions like sending email, opening PDFs, opening webpages etc. But, when I install or update an app which could handle that action, this default is cleared (even if default app is updated).

Nobody has problem with this because they can tick default checkbox on next action. My problem: I use Tasker to automate high amount of actions. And, due to this default removals (after automatic update), my tasks are stuck at Choose App pop-up. Tasks need to be completed in time. So, I face many real-world problems due to this.

What should I do to preserve defaults after automatic app update. Please, don't answer You can't or Turn off Automatic Update.

share|improve this question
    
This is a comment so I can say it: You can't, turn off automatic update. If you're a developer than hypothetically speaking you could write an app that would be notified when an app is updated and could set the default handler (I think you might need root for the last part.) Maybe the developer of Tasker has some insight to this? –  Richard Borcsik May 6 '12 at 14:42
    
I'm afraid Richard is right here. I just checked with the Tasker API in the hope it would provide its own solution (as I'm affected by the same issue, just not that hard). Though Tasker can react on "Package Updated" (and even gets to know which package), there's no action to handle "default apps". And I'm not aware of any system setting like "do not reset default app on update". Maybe some programmer develops a little tool to care for "forced app defaults", listening to the package_updated intent, and simply sets all defined defaults again... –  Izzy Aug 8 '12 at 12:51
add comment

2 Answers 2

up vote 6 down vote accepted
+50

AFAIK, defaults on Android is not preserved if apps that use the intent are changed.

Workaround:

Use intent to launch the application or its activity screen.

intent is comparatively reliable though it may be changed when app is updated.

Take sending email as an example

  1. Install Intent Intercept (Google Play)

  2. Clear the defaults of email client

  3. Choose "Intent Intercept" in Share menu when sending email

  4. Copy intent details of your desired application activity

  5. Open Tasker to "Create Task": Misc > Send Intent

  6. Edit the parameters (Usually fill in the Action and Extra is enough)

Ref: http://tasker.dinglisch.net/userguide/en/intents.html

P.S. Some famous companies even provide you the intent details on their developer website, such as Evernote.

share|improve this answer
1  
That app is open source, also available here: f-droid.org/repository/browse/… –  NoBugs Apr 20 '13 at 4:57
add comment

please go into the settings menu of your phone, go into the Tasker app option, and select clear defaults. Then open an option that needs an app to do and select the default action.

I hope that answers your question - it was hard to understand.

share|improve this answer
4  
No it's not an answer. He asked how to make sure that the default app for an action doesn't change if an app is updated. –  Richard Borcsik May 6 '12 at 16:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.