Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to set the search address from other programs #38

Open
hsjpekka opened this issue Feb 23, 2020 · 4 comments
Open

Add possibility to set the search address from other programs #38

hsjpekka opened this issue Feb 23, 2020 · 4 comments

Comments

@hsjpekka
Copy link

hsjpekka commented Feb 23, 2020

Currently SailfisOS Calendar doesn't open any map if an event location address is tapped. I thought of making a patch that opens Maep and starts searching for the address. I just made one that opens browser to search google maps, but adding Maep would be nice.

If Maep would check some ConfigurationValue, then probably this could be done.

Do you think it is possible? And is ConfigurationValue a good way to transfere info? Or is it possible already?

@dcaliste
Copy link
Owner

I can add a DBus interface I think that can be called by xdg-open with the geo: scheme. Will try to do it in the next week.

Thanks for the suggestion.

@hsjpekka
Copy link
Author

Great. Does that mean that Qt.openUrlExternally("geo://street address") would work also?

@hsjpekka
Copy link
Author

hsjpekka commented Aug 7, 2020

If you are interested, I wrote few lines to check the command line arguments, and made a pull request #40. That allows x-scheme-handlers to be used, and Qt.openUrlExternally.

But, command line arguments do not work if the app is running already. Thus, dbus interface would be better.

@dcaliste
Copy link
Owner

Thanks for the head up, sorry, all Github notifications went to spam folder and I didn't notice anything. My bad :(

As commented on SailfishOS forum, I would like to go the DBus route, but I'm afraid it will break some Harbour rules. Well, I'll add the missing bits and see what we can do for Harbour later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants