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

Companion app splashscreen on Android takes about 30 seconds

5 Answers 45 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.
JDBPocketware
Top achievements
Rank 2
JDBPocketware asked on 05 Jan 2015, 06:13 AM
Launching AppBuilder companion app on Android stays at "TelerikAppbuilder" splashscreen for 30 seconds. Same app on Windows Phone no issues.

5 Answers, 1 is accepted

Sort by
0
Lyubomir
Telerik team
answered on 07 Jan 2015, 10:05 AM
Hi Jandieg,

Can you please also share the following information:
  • Do you refer to the stock AppBuilder companion app downloaded from the market, with no livesync to any project?
  • What is the make and the model of the Android phone, and which Android version it is?
  • Is the phone's network connected to internet?
Thank you in advance for your response.

Regards,
Lyubomir
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
JDBPocketware
Top achievements
Rank 2
answered on 08 Jan 2015, 08:18 PM
Yes the one from the Play Store, with livesync to a VS project.
Phone is connected to internet. It's a Galaxy Grand Prime.
0
Accepted
Lyubomir
Telerik team
answered on 09 Jan 2015, 03:33 PM
Hello Jandieg,

Please verify that you have the following method call to hide the splashscreen in method onDeviceReady your javascript code:

function onDeviceReady() {
// you code here ...

// Hide the splash screen
navigator.splashscreen.hide();
}


If the method hide() is not present, the splashscreen will be shown for 30 seconds.

Regards,
Lyubomir
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
JDBPocketware
Top achievements
Rank 2
answered on 10 Jan 2015, 04:07 PM
Strange... other devices didn't need that. Any reason?
0
Lyubomir
Telerik team
answered on 12 Jan 2015, 01:28 PM
Hello Jandieg,

In Android by default the SplashScreen plugin is displayed for 3000 ms as noted in its documentation. This means that you can either add a preference to change that value or use the hide() method as soon as deviceready fires to close the splash screen.

All our samples invoke the SplashScreen hide() method in the onDeviceReady definition. This ensures that the splash screen is closed at the same time in all platforms and devices the app runs on.

Regards,
Lyubomir
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
JDBPocketware
Top achievements
Rank 2
Answers by
Lyubomir
Telerik team
JDBPocketware
Top achievements
Rank 2
Share this question
or