[Interest] Android launch screens?

Alexey Godko koloboid at gmail.com
Wed Aug 5 17:29:55 CEST 2015


Just putting splash.png to res/drawable and line below to
AndroidManifest.xml
<meta-data android:name="android.app.splash_screen_drawable"
android:resource="@drawable/splash"/>

works for me
Also, may be you want to display the same splash in your QML code with
dynamically load rest of scene using Loader.

2015-08-05 18:03 GMT+03:00 Jason H <jhihn at gmx.com>:

> This question is 50% Qt and 50% Android. Now that I have a launch screen
> working in iOS, I'd like the same thing in Android.
>
> Now, iOS lists the launch screen separately from the rest of the
> application, so it can be loaded without having to load the whole app. I'm
> not sure this is the case in Android. Most android tutorials just create a
> Activity subclass with a timeout.
>
> I was wondering if:
> 1) There is a true launch screen for android (not just faking it with a
> timeout - I want it to only be displayed for as long as the app is loading),
> 2) How I can accomplish it in Qt? I *think* some people may have done
> something with a Loader Element to create a stub, then dynamically load the
> screens, but I'm not sure of what all that entails, and if there are any
> caveats.
> 2a) Also, do I need to provide an Activity, or can I do it all in Qt/QML?
> 2b) Is there any actual perceived benefit? The iOS makes the app seem more
> responsive in a way, and the loading time is not significantly increased.
>
> Many thanks in advance.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150805/c5d1cdeb/attachment.html>


More information about the Interest mailing list