Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › How resolve a black screen after reopen the app as a launcher for Android?

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22153

    Abe

    I have implemented an Android app as a launcher. If I call the launcher with the Android navigation controller, the app shows just a black screen. I can find the following log entry:

     

    W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:612>: EGL_BAD_ATTRIBUTE

    E Qt JAVA : Surface 1 not found!

     

    This is probably related to the strange startup behavior of Felgo apps. At first a splash screen of Felgo is shown before the real app is displayed. Deos anyone knows a solution?

    #22157

    Alex
    Felgo Team

    Hi,

    the splash screen is already within the QML context, so not really a special startup behavior compared to a normal Qt app. Does your approach work with a standard Qt/QML project and only fail when using Felgo?

    Best,
    Alex

    #22196

    Abe

    Yes, it works with the standard Qt/QML project, but only in the Nexis 5X simulator and not on the device. If the standard Qt Creator deploys the app on the device, the manifest file seem to be ignored, because I can’t see the custom app icon and app name either.

     

    The black screen appears only, if I start the app for debugging from the Felgo SDK. If I start the app independently from the SDK, it seem to work. And only at the first time, a splash screen is shown. I can hide the splash screen with a paid license of the SDK. Is that correct?

    #22255

    Alex
    Felgo Team

    Hi,

    yes the splash screen is removed with the paid licenses of Felgo.

    So this issue is “resolved” then if it only appears in debugging mode? If you have a minimal example that reproduces it, you can send it to support@felgo.com so we can have a quick look.

    Cheers,
    Alex

    #22269

    Abe

    I’ll post an example project asap. Thanks!

    #22497

    Abe
Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.