white black screen while loading unity in android for 2-5 seconds





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I use android for launching unity activity. First a white then black screen and then my splash screen came after launching unity activity. But after changing the manifest file I am able to remove the black screen but the black screen still appears for 2-5 seconds. How can I get rid of that too?










share|improve this question

























  • Hey please can show me the gradle and the manifest

    – Hichem Romdhane
    Nov 26 '18 at 17:58











  • my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

    – Akarsh Jain
    Nov 26 '18 at 19:03













  • theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

    – Akarsh Jain
    Nov 26 '18 at 19:05











  • in gradle file which part would you like to see since i haven't change anything

    – Akarsh Jain
    Nov 26 '18 at 19:06


















0















I use android for launching unity activity. First a white then black screen and then my splash screen came after launching unity activity. But after changing the manifest file I am able to remove the black screen but the black screen still appears for 2-5 seconds. How can I get rid of that too?










share|improve this question

























  • Hey please can show me the gradle and the manifest

    – Hichem Romdhane
    Nov 26 '18 at 17:58











  • my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

    – Akarsh Jain
    Nov 26 '18 at 19:03













  • theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

    – Akarsh Jain
    Nov 26 '18 at 19:05











  • in gradle file which part would you like to see since i haven't change anything

    – Akarsh Jain
    Nov 26 '18 at 19:06














0












0








0








I use android for launching unity activity. First a white then black screen and then my splash screen came after launching unity activity. But after changing the manifest file I am able to remove the black screen but the black screen still appears for 2-5 seconds. How can I get rid of that too?










share|improve this question
















I use android for launching unity activity. First a white then black screen and then my splash screen came after launching unity activity. But after changing the manifest file I am able to remove the black screen but the black screen still appears for 2-5 seconds. How can I get rid of that too?







android unity3d






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 '18 at 23:36









Hardik Shah

1,7422824




1,7422824










asked Nov 26 '18 at 17:47









Akarsh JainAkarsh Jain

11




11













  • Hey please can show me the gradle and the manifest

    – Hichem Romdhane
    Nov 26 '18 at 17:58











  • my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

    – Akarsh Jain
    Nov 26 '18 at 19:03













  • theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

    – Akarsh Jain
    Nov 26 '18 at 19:05











  • in gradle file which part would you like to see since i haven't change anything

    – Akarsh Jain
    Nov 26 '18 at 19:06



















  • Hey please can show me the gradle and the manifest

    – Hichem Romdhane
    Nov 26 '18 at 17:58











  • my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

    – Akarsh Jain
    Nov 26 '18 at 19:03













  • theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

    – Akarsh Jain
    Nov 26 '18 at 19:05











  • in gradle file which part would you like to see since i haven't change anything

    – Akarsh Jain
    Nov 26 '18 at 19:06

















Hey please can show me the gradle and the manifest

– Hichem Romdhane
Nov 26 '18 at 17:58





Hey please can show me the gradle and the manifest

– Hichem Romdhane
Nov 26 '18 at 17:58













my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

– Akarsh Jain
Nov 26 '18 at 19:03







my manifest file: <activity android:label="@string/app_name" android:theme="@style/Game" android:screenOrientation="portrait" android:process="com.AlgorinTechlabs.bricks.game" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" android:name="com.AlgorinTechlabs.bricks.UnityPlayerActivity">

– Akarsh Jain
Nov 26 '18 at 19:03















theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

– Akarsh Jain
Nov 26 '18 at 19:05





theme file:<style name="Game" parent="@android:style/Theme.Holo.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="android:windowBackground">@drawable/some_image</item> </style>

– Akarsh Jain
Nov 26 '18 at 19:05













in gradle file which part would you like to see since i haven't change anything

– Akarsh Jain
Nov 26 '18 at 19:06





in gradle file which part would you like to see since i haven't change anything

– Akarsh Jain
Nov 26 '18 at 19:06












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53486474%2fwhite-black-screen-while-loading-unity-in-android-for-2-5-seconds%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53486474%2fwhite-black-screen-while-loading-unity-in-android-for-2-5-seconds%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen