mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 14:42:51 -04:00
Implement Android intent handling in qml app
AndroidManifest.xml register activity as an handler for retroshare links RetroShareQmlActivity...NativeCalls.cpp bring the intent data from java to C++ and then to QML QMl mainWindow uses URI.js to parse the received uri Create a singleton for qml engine so it is reachable from NativeCalls
This commit is contained in:
parent
29a3d105c4
commit
533dbef0c7
15 changed files with 239 additions and 26 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
/*
|
||||
* libresapi local socket client
|
||||
* Copyright (C) 2016 Gioacchino Mazzurco <gio@eigenlab.org>
|
||||
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org>
|
||||
* Copyright (C) 2016 Manu Pineda <manu@cooperativa.cat>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -17,9 +18,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBRESAPILOCALCLIENT_H
|
||||
#define LIBRESAPILOCALCLIENT_H
|
||||
|
||||
#include <QLocalSocket>
|
||||
#include <QQueue>
|
||||
#include <QJSValue>
|
||||
|
@ -95,5 +93,3 @@ signals:
|
|||
void debugChanged();
|
||||
#endif // QT_DEBUG
|
||||
};
|
||||
|
||||
#endif // LIBRESAPILOCALCLIENT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue