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

Android Browser Selection didn't start Sailfish-Browser anymore [answered]

asked 2016-08-26 17:05:08 +0300

Robomike gravatar image

Clicking a link inside an android app a selection dialog appears which browser to use: either Opera Mini (which I installed long time ago) or "Browser", which means the sailfish default browser. When I select the sailfish browser, I'm now unfortunately directed to the Youdao app, which I needed once and don't want to delete (because it's hard to setup this thing without any chinese reading knowledge). If I select the opera browser, I get opera. Outside of android the sailfish default browser is okay.

Maybe I tapped accidentally on some chinese selection dialogs.... but how can I restore the settings? Which file contains the selection target in the browser selection dialog?

I had Coderus' "aliendalvik control" installed before and uninstalled it now, but there's no change in behaviour.

Thanks, Michael

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Robomike
close date 2016-08-31 22:15:39.490270

2 Answers

Sort by » oldest newest most voted
8

answered 2016-08-30 23:29:27 +0300

Robomike gravatar image

Seems that I got it: in /usr/share/applications/mimeinfo.cache. There are entries for each mime-type, and the entries for x-maemo-urischeme/http, x-maemo-urischeme/https and text/html had an idiotic length. It's a semicolon seperated list, and I had literally all android .desktop files listed there for above types. First entry was the youdao app.

I replaced the long list with =open-url.desktop;android-open-url.desktop;android-open-url-selector.desktop, and anything seems to be okay now. Better than before: now, for example, I can use the "telegram.me" links in android telegram like expected, which wasn't possible before.

So, I wonder what added all the desktop entries to the list. My second Jolla has similar long lists there, but with the mentioned 3 entries at the beginning.

edit flag offensive delete publish link more

Comments

Thank you very mich robomike ! Just met yesterday same issue right after I installed coderus dalvik control app, tried using http reset, and no luck anymore. But your solution did teh trick perfectly ! Was getting crazy, mail hyperlink was opening AirBnB app in my case xD

I think maybe there is a bug in Coderus app leading to this strange issue

clovis86 ( 2016-09-09 09:51:24 +0300 )edit
2

answered 2016-08-26 18:21:10 +0300

coderus gravatar image

Install Mimer from openrepos and restore default browser to Sailfish Browser.

edit flag offensive delete publish link more

Comments

That's what I did first, but without success. I think it's not a question of the MIME-Type, because definition of default-browser with Mimer works fine inside sailfish.

Seems that the browser selection window in android has an own configuration. - I have also no idea what happens if I choose "always" in this browser selection window instead of "only once". I fear to lose the alternative choice forever.

Robomike ( 2016-08-27 01:25:09 +0300 )edit

Install Aliendalvik Control back and use it's button to reset HTTP and HTTPS handlers.

coderus ( 2016-08-27 08:06:57 +0300 )edit

Thanks for your support... well, using this button leads me exactly to the damned selection dialog. In this case: if I select Opera, Opera asks me to become my default (android) browser (didn't before). If I select "Browser" instead, nothing visible happens. If it's unclear which selection dialog I'm writing about: link screenshot

Robomike ( 2016-08-27 20:46:37 +0300 )edit

so select sailfish browser here and choose "Always"

coderus ( 2016-08-27 20:47:49 +0300 )edit

No difference, same as before.

Robomike ( 2016-08-27 21:08:16 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2016-08-26 17:05:08 +0300

Seen: 625 times

Last updated: Aug 30 '16