We have moved to a new Sailfish OS Forum. Please start new discussions there.

Unable to change default app setting for android apps

asked 2014-02-15 14:01:27 +0300

Toxip gravatar image

Recently I downloaded 1mobile app store and sometimes apps would prompt whether to launch yandex store or 1mobile store. I accidentally pressed open always yandex and now I don't know how to change that again. Would be nice to have some settings for android support.

edit retag flag offensive close delete


Try reinstalling the program.

Victorious ( 2014-02-15 15:09:31 +0300 )edit

doesn't help, I even reinstalled the android support, which also deletes all android app data but the problem persists.

Toxip ( 2014-02-15 15:27:22 +0300 )edit

/data/data/YOUR.APP.DIR. - Delete the folder (where the configuration file)

Victorious ( 2014-02-15 15:32:09 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-06-27 15:54:10 +0300

icebox gravatar image

You can edit /data/system/packages.xml by hand. You need developer mode and be sure to make a backup.

For example I clicked by mistake to have packages installed by Google Play. All I had to do was to remove this section:

<item name="com.android.vending/com.google.android.vending.verifier.PackageVerificationActivity" match="600000" set="2">
<set name="com.android.packageinstaller/.PackageInstallerActivity" />
<set name="com.android.vending/com.google.android.vending.verifier.PackageVerificationActivity" />
<action name="android.intent.action.VIEW" />
<cat name="android.intent.category.DEFAULT" />
<type name="application/vnd.android.package-archive" />
edit flag offensive delete publish link more


I had to go the same rocky road for resetting the default PDF application. I think, the Alien Dalvik system needs a preferences panel similar to the original Android preferences panel.

epsilonijk ( 2014-11-15 15:21:40 +0300 )edit

/data/system/packages.xml does not exist any more. I can't find the file anywhere on the filesystem. Is there another workaround?

cuh7b5 ( 2016-08-10 11:52:32 +0300 )edit

Based on this answer, I found a section in the packages.xml file called "<preferred-applications>...</preferred-applications>" or something like that, which contained two items, which seemed to correspond to the two 'default' choices I made. I simply commented out the preferred applications block and restarted the android emulator. When I re-entered, I was given the menu to choose an app, and the commented out code had disappeared altogether and in its place was simply an empty preferred-applications tag.

Tasos P. ( 2018-05-21 15:04:52 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-02-15 14:01:27 +0300

Seen: 1,071 times

Last updated: Jun 27 '14