Hi Dianne,

Thanks for the reply.

> If you are creating a device with an external display...
> well, currently there are no APIs for external displays in the platform, so
> you are going to need to add something that your app can use to direct video
> playback to that display.

Currently we have modified at overlay level to send video buffers to
external display device (tv or ..).

We were able to play video via external display. (via gallery app or
"am start -n com.android.gallery/com.android.camera.MovieView"
command)

but the problem is, video player gains the surface and screen control,
rest of the UI/apps are blocked, so we couldnt access menu or any
other screens.

How to overcome this (allow user to access system while video is being
played on external device), atleast a prototype?
 - i thought a a native app which bypasses ActivityManager (like
current stagefright in eclair 2.1) will allow user to use UI as usual,
while video is being played i background.

Thanks,
Deva

On May 31, 11:52 pm, Dianne Hackborn <hack...@android.com> wrote:
> That isn't really how Android works.  If you want a video player to run in
> the background, you would start a Service that controls it (see for example
> the music app).  If you are creating a device with an external display...
>  well, currently there are no APIs for external displays in the platform, so
> you are going to need to add something that your app can use to direct video
> playback to that display.
>
>
>
> On Sun, May 30, 2010 at 1:03 AM, Deva R <r.deva...@gmail.com> wrote:
> > guys, any native player available?
>
> > On Thu, May 27, 2010 at 5:01 PM, Deva R <r.deva...@gmail.com> wrote:
> > > Hi,
> > > I'm looking for a native video player application, which can be run in
> > > background (like command line), when other applications launched by
> > > ActivityManager are active in foreground.,
>
> > > My requirement is - to launch video playback in a auxiliary display
> > > device, while regular display panel will be active with regular
> > > android apps (menu/lock screen/browser/...)
>
> > > Closest i've come across is stagefright app, but its not complete
> > > video player usecase.
> > > any open core native test app, which can substitute Android media player?
>
> > > Thanks,
> > > Deva
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-platf...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platform+unsubscr...@googlegroups.com<android-platform%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/android-platform?hl=en.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to