Closed 4c0n closed 4 years ago
@koral-- thanks for reviewing! 😎 What are the next steps to get this merged?
@koral-- Did not receive a response from you :( @sorccu Can you perhaps coordinate this?
Sorry for the lack of the response. I was quite busy last days. I'll reach you back ASAP.
Thank you @koral--
not sure if I'm doing something wrong but when running:
adb shell am startservice --user 0 \
-a jp.co.cyberagent.stf.ACTION_START \
-n jp.co.cyberagent.stf/.Service
I get:
Starting service: Intent { act=jp.co.cyberagent.stf.ACTION_START cmp=jp.co.cyberagent.stf/.Service }
Error: app is in background uid null
Any suggestions here? I've read several issues here, but nothing has worked for me...
By the way, @4c0n I've tried this using your fork, but it did not work for me either
I'm really struggling with this :'(
@fablexis I don't think it's related to this pull request and I'm sorry to say I don't know what that error means. However if I were to make a guess, it would be something in the lines of: user id (uid) 0 is usually that of the "root" user. The command would imply that you are trying to start the APK as service running with root privileges. Maybe you don't have the right privileges to do so. Hope that helps, otherwise opening an issue or seeking support through other channels would be the best thing you can do.
@koral-- Still very busy? It's only a very small change.
Sorry for the delay. As I wrote in https://github.com/openstf/stf/pull/1239#issuecomment-649888929 all the STF repos are being reconfigured.
In the meantime could you sign off your commit as described in https://github.com/apps/dco? Sign-off requirement is going to be enabled for all the repos.
@koral-- No worries, sorry I didn't notice the comment. I'll do the sign-off in the meantime.
@4c0n could you resumbit your PR that repo: https://github.com/DeviceFarmer/STFService.apk? This repository will be archived and won't be updated. Sorry for the inconvenience.
@koral-- As requested: https://github.com/DeviceFarmer/STFService.apk/pull/5
@4c0n Hello, sorry for bothering, I encountered some problems when using minitouch and would like to ask for advice. My case is to use minitouch to do gestures on the development board (without touchpad?). When I execute the minitouch command, the command returns "Unable to find a suitable touch device". Now I have installed Minitouch and STFService on the development board, and started the service and agent according to the readme of STFService, what should I do next? How to make Minitouch work normally on devices without touchpad?
Hi,
I'd like to suggest that the minitouch agent always be started, not just for Android Q. That way we can use it when devices don't have a libevdev multi touch input device. As such https://github.com/openstf/minitouch/pull/15 can be closed, as we now have a better solution. My personal use case is that I need stf to be able to remotely control my Android devices running without a (working) touch screen. (Using the boards of old phones to turn them into remotely operated vehicles)