Hi, I would like to add geo: handling into Pure Maps. While command line arguments can be used through Qt.application.arguments in QML, its not very clear how to take into account already running instance. Namely, we are expected to have only one instance of application running and as a result, if some other application calls geo: handler, it is expected that the map application will become active and show corresponding location.
If I would have full control over application start, as in C++ applications, I would probably made: * DBus interface * on start checked whether such interface is active/available. * If active DBus interface is there, would have called corresponding DBus method and exited * If not, started full application QML/Python apps, such as Pure Maps, are started using sailfish-qml. This arrangement, as far as I can see, prevents such handling. It looks to me that I should write some kind of launcher (Python probably) that could be used to either communicate with the main application via DBus or start the full application. Or am I wrong? Maybe there is some better idea for implementation of such functionality? Cheers, Rinigus
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org