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

Android Intents #13

Open
ghost opened this issue Mar 27, 2018 · 2 comments
Open

Android Intents #13

ghost opened this issue Mar 27, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 27, 2018

Hi it would be nice if AndroidNative could be used for Android Intents (share to Qt/QML APP). I only get the type "androidnative.Activity.onResume" and an empty object as message.

@rmallah
Copy link
Contributor

rmallah commented Apr 23, 2018

Hi LubuWest ,
thanks for your interest in AndroidNative .
We shall think about your suggestion . In the meantime its an
open project so feel free to hack around 😃

regds
mallah.

@ghost
Copy link
Author

ghost commented Aug 26, 2018

You might have a look at https://git.friendi.ca/lubuwest/Friendiqa/src/branch/master/source-android/androidnative.pri. I adapted androidnative.pri to handle text and image intents. The c++, java and qml code was adapted. Due to the QML startup process, the intent has to be saved until a setInitialized signal is emitted from QML. It is rather hacky, but it works!

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

1 participant