Hi.
I finally found how to do that and build an native video player as a native 
extension for AIR (the solution was the first one, but adding a 
setZOrderOnTop on the right place ;o) ).

Le mercredi 3 octobre 2012 12:08:56 UTC+2, Jean-Luc TRESSET a écrit :
>
> Hi.
> I'm currently trying to integrate some Android native features to a Flash 
> AIR application.
> One of these feature deals with the integration of a native VideoView to 
> support all the video formats supported by Android devices.
> I've tried two things :
> - creating a VideoView in a native interface as usual and adding it beside 
> the Air surface view, but Flash Air seems to force his own view to be in 
> the front and the videoview becomes visible only after a standby/wakeup of 
> the device (before doing this, only the sound is played). This solution 
> works fine with a TextView or Button, so why not with a VideoView ? Any 
> idea ?
> - creating a VideoView and adding it to a PopupWindow. In this case I got 
> thi exception on the Java side : "Attempted to add window with token that 
> is a sub-window: android.os.BinderProxy@417a2860.  Aborting." and the 
> application fire an alert popup saying that the video canot be played. Any 
> idea ?
>
> Thanks a lot if any idea/suggestion.
>
>

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

Reply via email to