SplashScreen location

@roland @edd I moved the graphics out into the project root, and it works like a dream and my app went from 7MB to 3.7MB. :smile:

Cheers,
Marc

FYI: I’m collecting info so I can modify Cordova so that it properly handles configuring Android splash screens in the top-level config.xml, as is already the case with iOS. After creating and testing my patch, I’ll ask someone to commit it (I’m a contributor, I’ve signed a CLA, but I do not currently have permission to commit anything).

iOS splash screens work flawlessly. Android screens do not, but I have figured out what is breaking. I just need to figure out where I need to go to fix it.

Hi roland
Thanks for asking question can you please tell me that your problem have sloved? because i am getting the same problem for android splash screen.

FYI,
The new version of the Yeoman Ionic generator includes a hook that will add a resources directory to your project along with all the icons/splashscreens for the platform. These will be copied to your platform after the prepare phase.

see https://github.com/diegonetto/generator-ionic/issues/28 for more info

Thanks,
Devin

@muhammadFaizanKhan Hi, sorry but christmas time was quite busy. But now I think our problems should be solved with the new Ionic Icon and Splashscreen generators https://github.com/driftyco/ionic-cli#icon-and-splash-screen-image-generation. I didn’t try it yet but I definitely will in the near future. Did you try it yet?

I know this is late, but…

Steve Husting, one of the very frequent contributors to the PhoneGap/Apache Cordova Google group, wrote the following post on his blog. I was having trouble getting 9-patch PNGs to work, but using his instructions, I was able to get Android splash screens working quite easily in my Ionic project. It does involve a little bit of manual labor but…

The basic idea is the same whether you’re using Eclipse, Android Studio or IntelliJ IDEA…