Thursday, August 25, 2011

[android-developers] Remote execution

Hi all,

I am able to access one of the development phones I have over the
network
and start activities using:

$ ./adb.exe shell am start -n <package name>/<activity name>

However I noticed that in such cases the activity does not connect to
a remote
host (via sockets). If I start the activity manually on the phone then
that works
fine. Is the above command running the activity isolated from the
phone's
services (network etc)?

Also, is there a way to reboot a phone remotely from the shell?

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