Android splashscreen weirdness

5 posts, 0 answers
  1. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 14 Feb 2014 Link to this post

    Something happened to my Android build with this new Telerik AppBuilder rebranding.  I don't have a splashscreen defined for Android and for some reason when I launch my app now, it's basically dead/inert for about ten seconds, almost as if there's some imaginary splashscreen being displayed that the app is waiting on to hide :)  I know, sounds dumb, but I've sort of reproduced it with a test app.

    If you just create the usual Kendo UI Mobile app, remove it's Android Splashscreen and disable the Splashscreen plugin you'll see the behavior.  I can't seem to fix what ails my app working off of this test app though???  I don't have an android splashscreen defined and what I do with the plugin doesn't seem to matter at this point

    anybody got a theory about what's going on here??
  2. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 14 Feb 2014 in reply to Ryan Link to this post

    so I sorta fixed that by adding a call to navigator.splashscreen.hide() in the onDeviceReady event handler.  Makes the screen flicker on loadup though and it's basically a hack.  I've got the splashscreen plugin enabled in my app but no splashscreen defined.

    still curious as to what is going on here??
  3. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 20 Feb 2014 Link to this post

    Hello Ryan,

    Unfortunately we have not been able to reproduce the problem you describe. Are you by any chance using an older version of Cordova? Also does this happen on any app/device? We would appreciate if you provide us with a sample that exhibits the problem. Let us know the name of that project and we would look into it.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  4. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 20 Feb 2014 Link to this post

    under my account at ryanday@sweatlogs.com I've got a an app called splashtest2 that will do it when deployed on either an HTC One or HTC Droid DNA Phone.

    I just took the default project created when you do a new Kendo UI Mobile app and disabled the splashscreen plugin and then removed the default splashscreen provided for Android.  That combination seems to be what triggers it.
  5. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 25 Feb 2014 Link to this post

    Hi Ryan,

    Thank you for the sample project. I was able to reproduce the issue with it and it seems like a bug either on our side, Cordova or Android. We have it logged in the issue tracker and will look at it more carefully for future AppBuilder releases.

    Until a solution is found, or we have clearer picture of what exactly is happening, you can configure the splashscreen delay for android apps inside the Android config.xml file, like this:
    1. Inside your project, open the Android config.xml. You can check how to do this, here.
    2. In it, add a new preference like the following:
      <preference name="splashScreenDelay" value="1" />
      Note that, the value could also be "0". It represents the splashscreen hiding delay in milliseconds.

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Back to Top