• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR 3.8 containsVideo is causing black screen at app start on some tablets

Guest
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

When I put <containsVideo>true</containsVideo> in the android tag within the app.xml than the app starts with a black screen at startup on:

- Galaxy Tab 2 10.1

- Galaxy Tab 10.1

When I tap the screen the splash screen is visible for 1 second and then the screen gets black again.

On the Asus Transformer and the Sony Xperia the app just works fine. Any suggestions?

On AIR 3.7 it also works fine for the Galaxy Tab devices.

TOPICS
Development

Views

6.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Are you using the video object in your application? Also, could you please share the OS version of the devices.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Thanks a lot for the quick reply we where about to release the app untill this appeared. Yes, I'm using the Video object in the code and the version number is 4.0.3. Hope this cn be solved or else ill have to go back to 3.7 which causes a lot of other errors 3.8 got fixed

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Can it be the GPU? The Galaxy Tabs have a PowerVR GPU and the other two have a Geforce.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Btw, this is what I see in the Android log: http://grab.by/o8IY
It is repeating the same constantly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Could you please give a try with the apk attached at https://www.dropbox.com/s/1remjvh36e5hajx/containsVideo.apk , check if you are able to see the video on your Galaxy Tab(s).

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Nice video

It is working correct on the Galaxy Tab 2 and the Galaxy S3. I've not yet

tested it on the other devices.

Op 4 jul. 2013 06:58 schreef "nimitja" <forums_noreply@adobe.com> het

volgende:

**

Re: AIR 3.8 containsVideo is causing black screen at app start on some

tablets created by nimitja <http://forums.adobe.com/people/nimitja> in *AIR

Development* - View the full discussion<http://forums.adobe.com/message/5475520#5475520

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Thanks for the try. This was a known issue and has been fixed. It will be available in the next release.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Good to know that it is fixed! When will the next release be published? We

actually have to release the app today :S and 3.7 is causing other issues

in the app. Is there any way to get the latest version?

Op 4 jul. 2013 08:29 schreef "nimitja" <forums_noreply@adobe.com> het

volgende:

**

Re: AIR 3.8 containsVideo is causing black screen at app start on some

tablets created by nimitja <http://forums.adobe.com/people/nimitja> in *AIR

Development* - View the full discussion<http://forums.adobe.com/message/5475642#5475642

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 04, 2013 Jul 04, 2013

Copy link to clipboard

Copied

It is planned and will release very soon.

-Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2013 Jul 26, 2013

Copy link to clipboard

Copied

Got quite the same problem.  On Android if I use StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY or simply trace(stage.stageVideos.length), the whole app fade to black.


This is happening only when depthAndStencil and containsVideo are set to true.

Test on Nexus 10, Android 4.2.2 with Air 3.8.

Are you aware of this?  Any plan to solve that soon?

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 27, 2013 Jul 27, 2013

Copy link to clipboard

Copied

Could you please give it a try with latest AIR SDK available at http://www.adobe.com/devnet/air/air-sdk-download.html , please update if you will still find any issues

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 29, 2013 Jul 29, 2013

Copy link to clipboard

Copied

Hi Nimit,

I tried with <name>AIR 3.8.0</name><version>3.8.0</version><build>870</build> and <name>AIR 3.8.0</name><version>3.8.0</version><build>900</build> with similar result:

In my project I still have the fade to black problem.

In a simple test, a black rectangle of transparency is present in the top left corner when starling content is displayed, the stageVideo is visible in it.

I have no clue why they behave differently, but I know it's still inconsistent and non-usable.

If you have any other build I can test please let me know.

Francis

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 29, 2013 Jul 29, 2013

Copy link to clipboard

Copied

Hi Francis,

I tried with the trace(stage.stageVideos.length) and having depthAndStencil and containsVideo are set to true in application descriptor but not able to reproduce the problem. Could you please share a sample application so that I can quickly see the problem if any. Also, have you tried your application with any other device.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 01, 2013 Aug 01, 2013

Copy link to clipboard

Copied

Hi nimita,

Here's an example.

https://docs.google.com/file/d/0B32v3kA_81A1ZWIwYndKZjVJWkk/edit?usp=sharing

Project file is Intellij if you have it.  If not, just package color.mp4 to the root.

Using the master revision of Starling and Away3D 4.1.4 (Gold).

I also try on a Galaxy Nexus with same result.

With this simple test an alpha region on the top left corner let the video be seen through Starling content.  In my more complex project, but with the same logic, Starling content fade out after +/- 1 second.

Let me know if you find something.

Francis

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 02, 2013 Oct 02, 2013

Copy link to clipboard

Copied

Is the "containsVideo" node no longer required? I am seeing a similar bug with this on Android 4.2.2 (http://forums.adobe.com/message/5729852#5729852).

Removing "containsVideo" resolves my bug and video seems to playback fine as well....

I realize that removing containsVideo causes  layering bugs which render the app unusable.

So I am curious as to:

1. Why was this needed in the first place

2. Is it no longer required

3. If its required, then clearly its buggy with Android 4.2.2

I would appreciate a quick response as I have an app in the PlayStore that is now affected.

Thanks,

- Abey

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 02, 2013 Oct 02, 2013

Copy link to clipboard

Copied

Hi,

I tried a sample stageVideo application having containsVideo tag set as true on Samsung S4(v4.2.2) with AIR SDK 3.9.0.96 but everything is working fine at our end. I have also tried a sample application having starling and away3D. I have attached the containVideo sample project https://www.dropbox.com/s/wzu5xy4q0q2nf3v/containsVideo.zip for your reference. Please try it once and update if any changes required to reproduce the issue.

Are you able to reproduce the problem with any other device having 4.2.2 version or it is specific for Samsung tab 2 10.1?

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 03, 2013 Oct 03, 2013

Copy link to clipboard

Copied

I have two devices with Android 4.2.2, both are Samsung Tab 2 (10.1 inch and 7 inch). Both of them exhibit this issue.

Can you please try with the app and steps as described in this bug :

https://bugbase.adobe.com/index.cfm?event=bug&id=3645241

I will try your sample app and report back shortly.

Thanks for your attention to this.

- Abey

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 04, 2013 Oct 04, 2013

Copy link to clipboard

Copied

We had the same issue - Galaxy Tab 3 10.1 failing to render app, and removing the <containsVideo> tag solved that problem.

However, the performance of our app on this tablet (using renderMode gpu, which has best performance) is horrendous. I also have a Galaxy Tab 10.1 first generation, and it performs significantly better than the 3 with our app, some sequences take twice as long to render on the 3 than the 1. This is the exact same APK installed on both.

Has anyone else noticed this kind of thing with the 3? Is it possible that this could be improved on the Air side somehow?

To make matters even worse, one of our partners is specifically targeting the galaxy tab 3 10.1....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 03, 2013 Oct 03, 2013

Copy link to clipboard

Copied

I tried out the sample app you sent on the Samsung Tab 2 (10.1 inch) and it does not exhibit the black screen issue. So it's possible its a combination of "containsVideo" and something else in my app.

Have you been able to repro the issue on your end using the steps I outlined in the bug? (https://bugbase.adobe.com/index.cfm?event=bug&id=3645241)

- Abey

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 22, 2013 Nov 22, 2013

Copy link to clipboard

Copied

FYI: I updated the bug with a sample app (with source) that causes this issue. I was able to isolate it to a line of code that adds an eventlistener to the stage for the StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY event.

Simply adding a event listener (even if the handler is doing nothing), causes this bug to show up in the sample app attached to the bug.

HTH in squashing this bug ASAP.

Thanks,

- Abey

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 26, 2013 Nov 26, 2013

Copy link to clipboard

Copied

I just encountered the same issue after updating my Galaxy S4 to Android 4.3. Before that my app worked fine with StageVideo but after the update I started getting a black screen after the app launched.

I finally removed the containsVideo tag from the manifest to solve the problem.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 27, 2015 Sep 27, 2015

Copy link to clipboard

Copied

LATEST

Hello every body!

I made a solution to solve this problem on my applications.

It works fine.

This is the debugger code on gitHub : MESepehr/BlackScreenBug · GitHub

And this is the reported bug on adobe bugbase: Bug#4026075 - Black Screen on Android 4.1+ : GPU mode with Camera or Video

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines