1
votes

I have been googling for a while now; to add an animated splash screen in my android/phonegap project but most of the posts/blogs refer to use the following code :

super.setIntegerProperty("splashscreen", R.drawable.splash);
super.loadUrl("file:///android_asset/www/index.html", 10000);

This is working perfectly for plain image files. But when i use an animated images (Currently using *.gif files, know that gif's are not supported in android) for splash screens its not working.

I also found that android's animation and alpha animation api's can be used. Can somebody point me to a nice tutorials.

I just want to show an splash screen with some animation.

Thanks,

Nanashi

1

1 Answers

1
votes

To the best of my knowledge animated gif's are not supported on Android. If you want to do an animated splash screen you will need to do some Java coding. Check out this link:

http://www.codeproject.com/Articles/113831/An-Advanced-Splash-Screen-for-Android-App