It would help if you would include the stack crawl of the error and such.

One cause of this error may be trying to display an application
window/dialog through a Context that is not an Activity.

On Wed, Nov 26, 2008 at 9:33 AM, Ash <[EMAIL PROTECTED]> wrote:

>
> Hello super smart people, I've got a strangle little bug to test you.
>
> I have an application that tries to display an RTSP video in a view
> (Content View -> ScrollView -> AbsoluteLayout -> VideoView). However,
> in the emulator the MediaPlayer throws dispatches an error message
> which tries to display an Alert which throws the WindowManager
> exception. On device I hear the sound but do not see the the video
> then I get the exception when the MediaController is shown. WTF is
> going on? If I create a tiny Activity this works fine but once I get
> into a "real" application it all goes to hell. Is this Dalvik and the
> Android SDK showing it's immaturity?
>
> Ash
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to