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

How can I invoke Firefox Focus to open an URL from picker menu?

asked 2019-10-12 12:58:08 +0300

updated 2019-10-13 11:19:19 +0300

I'm trying to Firefox Focus automatically open an URL from picker menu in this way:

image description

But unfurtunatilly I'm only achieving to open Firefox Focus main page.

I already have configured mimeinfo.cache and apkd_launcher_org_mozilla_focus-org_mozilla_focus_activity_MainActivity.desktop on this way.

mimeinfo.cache:

[MIME Cache]
text/html=open-url.desktop;harbour-webcat-open-url.desktop;
x-scheme-handler/http=open-url.desktop;apkd_launcher_org_mozilla_focus-org_mozilla_focus_activity_MainActivity.desktop;harbour-webcat-open-url.desktop;microtube-url.desktop;
x-scheme-handler/https=open-url.desktop;apkd_launcher_org_mozilla_focus-org_mozilla_focus_activity_MainActivity.desktop;harbour-webcat-open-url.desktop;microtube-url.desktop;

and apkd_launcher_org_mozilla_focus-org_mozilla_focus_activity_MainActivity.desktop:

[Desktop Entry]
Exec=apkd-launcher org.mozilla.focus.apk org.mozilla.focus/org.mozilla.focus.activity.MainActivity
Icon=/var/lib/apkd/apkd_launcher_org_mozilla_focus-org_mozilla_focus_activity_MainActivity.png
Name=Firefox Focus
Type=Application
Version=1.0
X-Nemo-Application-Type=no-invoker
X-Nemo-Single-Instance=no
X-apkd-apkfile=/home/.android/data/app//org.mozilla.focus.apk
X-apkd-packageName=org.mozilla.focus
NotShowIn=X-MeeGo;
MimeType=x-scheme-handler/http;x-scheme-handler/https;
Hidden=true;

But still still Firefox Focus can't manage URL's from picker menu. It only opens itself.

Is there any way that an Android webbrowser could take an URL an open it directly from picker menu?

Thanks in advance.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
6

answered 2019-10-12 14:07:17 +0300

coderus gravatar image

Install Aliendalvik Control

edit flag offensive delete publish link more

Comments

1

Thanks coderus! I'm trying to figure how it works too, so I would like to know how I could do that through mimeinfo.cache to implement it in a future proyect

ferlanero ( 2019-10-12 19:02:47 +0300 )edit
2

It modifiers desktop file of applications to start it via aliendalvik control instead of apkd. AD control can properly start apps with arguments.

coderus ( 2019-10-13 11:38:23 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2019-10-12 12:58:08 +0300

Seen: 511 times

Last updated: Oct 13 '19