-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incoming phone call triggers custom move. #65
Comments
The branch for this task is If the application does not start at incoming call then check auto start permissions at 3rd party manager application. See here: https://stackoverflow.com/questions/34842659/cannot-autostart-app-on-boot-got-broadcastqueue-reject-to-launch-app |
So perhaps rather than autostarting this, we could allow it to be "enabled" in the app whilst the app is running. So incoming calls trigger a move. But not without the app (or service) explicitly being run, and the feature enabled.. |
So incoming call triggers a custom move that I am designing. It needs to be able to interrupt any move currently moving. And we need to prevent the tail moving once the call is answered - to keep the tail quiet. |
I think it is better to trigger the events even the app is closed by default. I added the comment above because Asus phones have an application that denies that behavior. But as I know vanilla android devices should allow that. |
ok - good - lets see if it causes trouble, |
Excuse my ignorance but I don't see a pull request for the changes u made. What am I doing wrong? 😁 |
Now user can change the move commands for each phone events. But we can not run it from service... |
Ok. Can u be clear about what u are saying we should do?
Master Tailer
http://thetailcompany.com
…On 23 Apr 2019, 11:43, at 11:43, Gilmanov Ildar ***@***.***> wrote:
Now user can change the move commands for each phone events. But we can
not run it from service...
We should be able to run it from service app, not from main app,
because we do not need to start the main app each time the phone
receives incoming calls.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#65 (comment)
|
It works now! But only with the main app, not service |
I have tried several ways to resolve this issue. Here is my report. We should register C++ code only from Service library, not main library. It is because if we register C++ code from main library then the Qt main event loop is paused when the application is hidden, and when the app is hidden and someone called then we do not see any action. But when the app will be visible again we will get all the events at the same time. We do not want this. So, to register C++ code only from Service library we have two ways:
I tested And I think the And one more thing about the At
It seems it is due the Qt bug: UnsatisfiedLinkError when manually registering functions via JNI_OnLoad Now I updated the
And I use the |
I have tried the latest docker image with the command:
Now it builds the application, but nothing has changed |
When we call |
I tested it with |
Related bug report: https://bugreports.qt.io/browse/QTBUG-76038 |
So, I offer to wait until this bug will be fixed on Qt |
email arrives.. tail wag
wifi dropped - tail tremble
incoming call - tail lift..
Discuss!
The text was updated successfully, but these errors were encountered: