Tuesday, June 1, 2010

Re: [android-developers] Best way to live demo apps

Stuart Reynolds wrote:
> Does anyone know if its possible to access to the root View of the
> current Activity (of existing apps, without code changes)?

It damned well better not be, at least without root.

> There are
> applications such as Display Shot that seem to overlay images on top
> of whatever is running (without rooting the phone), so I'd guess its
> possible, but I can't find how.

I can't comment on that, other than to say it's a security hole to allow
arbitrary on-device code to access the contents of the screen.

> Aside, from big screen display, the other thing this could allow is
> remote desktop access into the device, which has a ton of development
> uses.

Which also would require root access or firmware mods, as there is no
way for ordinary applications to inject events to arbitrary applications
-- again, for security reasons.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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