This is a migrated thread and some comments may be shown as answers.

Android splashscreen weirdness

4 Answers 100 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 15 Feb 2014, 04:27 AM
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??

4 Answers, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 15 Feb 2014, 04:41 AM
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??
0
Steve
Telerik team
answered on 20 Feb 2014, 12:00 PM
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)
0
Ryan
Top achievements
Rank 1
answered on 20 Feb 2014, 10:51 PM
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.
0
Kaloyan
Telerik team
answered on 25 Feb 2014, 04:12 PM
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)
Tags
Report a bug
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Steve
Telerik team
Kaloyan
Telerik team
Share this question
or