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

2010-06-01 Thread Stuart Reynolds
Thanks DroidAtScreen seems to work OK, if a little slow. I can work
with that for now. (Thanks!) The OP solution is good but also won't
work for me. HDMI will be great once its available and supports
outputting the device's screen.

The hardware clearly supports streaming full audio and video (since
you can record video from the camera). However, the Android SDK's
VideoSource class only supports capturing from the camera. If there
are no plans to make video recording available any time soon I might
(if I have time) try hooking up ffmpeg through the NDK. This might get
me full speed video for my application (since I can provide it a
buffer containing an Activity's root View).

Does anyone know if its possible to access to the root View of the
current Activity (of existing apps, without code changes)? 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.

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.

Cheers,
- Stu

On Sat, May 29, 2010 at 4:14 AM, Mark Murphy mmur...@commonsware.com wrote:
 Ted Neward wrote:
 What about one of those magnifier overhead projectors from back in the 70s
 or so? Not the transparency ones, the ones that essentially point a camera
 at the base and project up onto the screen. You hold (or set) the phone
 underneath it, and voila, you now have two screens, one from your laptop and
 one conveying what the phone looks like.

 I assumed the OP was only interested in software solutions.

 The predominant hardware solution today is the ELMO, which is pretty
 much what you describe, just named after a Sesame Street character.

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

 _The Busy Coder's Guide to *Advanced* Android Development_
 Version 1.5 Available!

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-06-01 Thread Mark Murphy
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-30 Thread Ted Neward
Yeah, I'd sort of thought that too, but thought that maybe a little
out-of-the-box thinking might serve as a good solution instead of heading
down a yak-shaving exercise that turned out to be more fragile than useful.
(I've been there, done that. :-) )

Meanwhile, I'll bite: why is it called the ELMO?

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com

 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of Mark Murphy
 Sent: Saturday, May 29, 2010 4:14 AM
 To: android-developers@googlegroups.com
 Subject: Re: [android-developers] Best way to live demo apps
 
 Ted Neward wrote:
  What about one of those magnifier overhead projectors from back in
 the 70s
  or so? Not the transparency ones, the ones that essentially point a
 camera
  at the base and project up onto the screen. You hold (or set) the
 phone
  underneath it, and voila, you now have two screens, one from your
 laptop and
  one conveying what the phone looks like.
 
 I assumed the OP was only interested in software solutions.
 
 The predominant hardware solution today is the ELMO, which is pretty
 much what you describe, just named after a Sesame Street character.
 
 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy
 
 _The Busy Coder's Guide to *Advanced* Android Development_
 Version 1.5 Available!
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-
 develop...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-30 Thread Romain Guy
 Meanwhile, I'll bite: why is it called the ELMO?

Because of the manufacturer: http://www.elmousa.com/ :))

-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-30 Thread Ted Neward
Aw, and here I was hoping for a much better story. So prosaic. ;-)

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com

 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of Romain Guy
 Sent: Sunday, May 30, 2010 1:31 AM
 To: android-developers@googlegroups.com
 Subject: Re: [android-developers] Best way to live demo apps
 
  Meanwhile, I'll bite: why is it called the ELMO?
 
 Because of the manufacturer: http://www.elmousa.com/ :))
 
 --
 Romain Guy
 Android framework engineer
 romain...@android.com
 
 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-
 develop...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-29 Thread Mark Murphy
Ted Neward wrote:
 What about one of those magnifier overhead projectors from back in the 70s
 or so? Not the transparency ones, the ones that essentially point a camera
 at the base and project up onto the screen. You hold (or set) the phone
 underneath it, and voila, you now have two screens, one from your laptop and
 one conveying what the phone looks like.

I assumed the OP was only interested in software solutions.

The predominant hardware solution today is the ELMO, which is pretty
much what you describe, just named after a Sesame Street character.

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

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.5 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-28 Thread Mark Murphy
Stu wrote:
 I want to be able to perform live demos of an app I've been working at
 conferences.
 
 There doesn't seem to be an easy way to get a video feed of what's
 going on onscreen onto a big screen.
 
 We've hooked up the screen capture utility of DDMS and keep hitting
 refresh. Its not ideal. I'm aware that there are more automatic
 solutions that continuously cause a refresh, but these don't really
 provide video, and I'd also like an audio feed.
 
 I can frame grab within my app programmatically, but the Android SDK's
 video encoder only supports capturing video feed from the camera.
 
 Any ideas? What's the best way to live demo Android apps to large
 audiences?

The more automatic solutions that continuously cause a refresh are the
only ones I am aware of (DroidEx, DroidAtScreen).

In terms of an audio feed, use the 3.5mm jack in your phone. Patch
that to whatever you want, possibly with amplification depending on the
size of your room.

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

Android Training in US: 14-18 June 2010: http://bignerdranch.com

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-05-28 Thread Ted Neward
What about one of those magnifier overhead projectors from back in the 70s
or so? Not the transparency ones, the ones that essentially point a camera
at the base and project up onto the screen. You hold (or set) the phone
underneath it, and voila, you now have two screens, one from your laptop and
one conveying what the phone looks like.

The only other thought I have is to have a webcam pointed at the phone and
the cam's feed captured on your screen somehow.

Or you *could* just buy phones for everybody in the audience ;-)

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com

 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of Mark Murphy
 Sent: Friday, May 28, 2010 4:02 PM
 To: android-developers@googlegroups.com
 Subject: Re: [android-developers] Best way to live demo apps
 
 Stu wrote:
  I want to be able to perform live demos of an app I've been working
 at
  conferences.
 
  There doesn't seem to be an easy way to get a video feed of what's
  going on onscreen onto a big screen.
 
  We've hooked up the screen capture utility of DDMS and keep hitting
  refresh. Its not ideal. I'm aware that there are more automatic
  solutions that continuously cause a refresh, but these don't really
  provide video, and I'd also like an audio feed.
 
  I can frame grab within my app programmatically, but the Android
 SDK's
  video encoder only supports capturing video feed from the camera.
 
  Any ideas? What's the best way to live demo Android apps to large
  audiences?
 
 The more automatic solutions that continuously cause a refresh are
 the
 only ones I am aware of (DroidEx, DroidAtScreen).
 
 In terms of an audio feed, use the 3.5mm jack in your phone. Patch
 that to whatever you want, possibly with amplification depending on the
 size of your room.
 
 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy
 
 Android Training in US: 14-18 June 2010: http://bignerdranch.com
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-
 develop...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en