Sometimes an application is more compelling if the user can launch it by clicking on a custom uri scheme. Harmattan just provides that. In <yourapplication>_harmattan.desktop file add the following line
Where foo is the custom uri that your app handles. When some other application refers to this uri scheme like QDesktopServices::openUrl(QUrl(foo://bar)), system launches your app.