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

How to launch the task manager and kill a running android application with STF ? #35

Open
prutapptic opened this issue Jul 27, 2015 · 2 comments

Comments

@prutapptic
Copy link

Hello guys,

I'm investigating STF and I'm facing a limitation:
On the real device, i've a "system" button that display all the currently running application. On this "task manager" view, I can kill some process. On the control screen of STF, there are 3 buttons: "Menu", "Home" and "Back". On my real device, there are 3 buttons: "System", "Home" and "Back".

How to simulate a click on this "System" button ?
How to replace the "Menu" button by a "System" button ?
Does exist a way to display the "task manager" view with STF ?
What is the Shell command to kill an Android process ?

Thanks for your answers.

@jonalmeida
Copy link

You can do this from a shell, by first doing:

  1. adb connect [ip_given_in_STF].
  2. You can grep through to find the pid of your app: ps | grep 'com.example'
  3. Kill the app using the pid you find from there: kill [pid_goes_here]

Side note: If you wanted to uninstall your app, you can do that from adb as well: adb uninstall com.example

@gunta
Copy link
Member

gunta commented Jul 29, 2015

You can with the new stf 1.0.8 version.
Control a device and then try clicking Dashboard -> Apps -> Manage Apps.
It should open a list of running process (unfortunately this doesn't work for old Android devices yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants