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

Set xdg-open for .apk-file with Alien-dalvik installation [answered]

asked 2015-01-21 05:38:38 +0200

riek42 gravatar image

After removing several no longer wanted apps from my jolla, android support suddenly stopped working. I reinstalled android support. That removed all my previously installed apps. Now I wanted to install F-droid: Go to f-droid.org download .apk. Open folder in file browser, run apk: Error message: xdg-open found no preferred application (3)

As soon as I installed one application from the jolla store that needs android support, I could install the f-droid.apk. When this app (from jolla store) was uninstalled, all other installed android applications (like f-droid store) would stop working.

Stop working in the sense of: App closes after loading screen is shown for a second or two.

I reckon that if you set xdg-open for apks correctly you can uninstall the jolla-store-app. Can't this be part of the android-support installation in the first place?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by nthn
close date 2017-04-11 15:05:29.546526

Comments

1

Maybe this whole xdg-mime/xdg-open thing would require to be escalated to a settings-UI, for easier adding/configuring of mime types to be started with certain applications?

At least following questions relate to this:

https://together.jolla.com/question/77465/xdg-open-command-for-video-playback/

https://together.jolla.com/question/37029/bitmap-bmp-handling/

https://together.jolla.com/question/47918/request-improve-list-of-filetypes-known-to-xdg-open/

I have heard that this is possible, with xdg-mime and tried it for bmp files, but anything i tried, failed.

kimmoli ( 2015-01-21 10:45:17 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2015-01-21 11:52:53 +0200

ilpianista gravatar image

This did happen to me too, in my case the package apkd was missing.

edit flag offensive delete publish link more

Comments

This also worked for me (just run pkcon install apkd as root).

martinger ( 2015-04-22 11:15:41 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2015-01-21 05:38:38 +0200

Seen: 1,063 times

Last updated: Jan 21 '15