Tuesday, November 15, 2011

[android-developers] Re: Remote control of apps

Android Debug Bridge:

stop

Stops execution of an emulator/device instance

On Nov 15, 12:53 pm, kypriakos <demet...@ece.neu.edu> wrote:
> Hi all,
>
> I remember that you can launch apps remotely on a phone using:
>
> adb shell am start -n ...
>
> I never looked for one that would terminate the app remotely. Is there
> one? May be I can write scripts that can grep the ps on the device
> and send a remote kill but (i) that is not possible on devices that
> are not rooted and (ii) may be not a good idea. So most likely I will
> have to write a receptor on an app that when a term app commands
> comes in over a socket it can then schedule itself with Android
> for termination.
>
> Has anyone tried this before?
>
> Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment