[Android-development] Android Splash Screen

Bruno Tezine btezine at gmail.com
Fri Oct 30 16:23:48 CET 2015


Hi Liang Jian,
Thank you for your response.
I already tried to use this approach. You complain about a flicker, but
what about the black screen between the splash and the first qml page?
I don't know if this happened with you, but under my tests, the splash
screen appears ok, but then the screen goes black for a while until the
main qml page is loaded.
Does it happen with you?
Kind regards,
   Bruno.


2015-10-30 12:11 GMT-02:00 Liang Jian <jianliang79 at gmail.com>:

>      According to my experience, the best way to show splash screen in
> qt-android is to use a custom android theme and set its
> android:windowBackground. In this way the splash screen will show instantly
> after you click to launch your app. But unfortunately there is an annoying
> bug about this method, please refer to
> https://bugreports.qt.io/browse/QTBUG-43558
>
> On Thu, Oct 29, 2015 at 9:06 PM, Bruno Tezine <btezine at gmail.com> wrote:
>
>> Hi,
>> How can I create a splash screen for Android using Qt (without widgets)?
>> I don't know if it's possible. The idea is to present a splash
>> screen(image) immediately while the first qml page is loading. No timers
>> involved.
>> I have read several samples, but none seems to fit. Let me explain:
>>
>> 1) http://doc.qt.io/qt-5/qtquick-window-example.html
>> --This example uses a timer. It doesn't display a splash while the app is
>> still loading the first screen.
>>
>> 2)
>> http://stackoverflow.com/questions/5486789/how-do-i-make-a-splash-screen
>> --It explains how to create splash screens using two approaches. One
>> using an Activity and other using a theme style. The first approach uses a
>> timer and delays the app load. The second quickly display a splash, but
>> after it disappears, the screen goes black while loading the first qml
>> page.
>>
>> Is it possible?
>> Thank you,
>>    Bruno.
>>
>> _______________________________________________
>> Android-development mailing list
>> Android-development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/android-development
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20151030/10e2a0a5/attachment.html>


More information about the Android-development mailing list