my android app cache size is around 40MB when i load the app into device and it is showing blank screen while launching the app for 1st time. i have no idea how to resolve this challenge, please help.
these are the libraries i am using.
compile(group: 'com.microsoft.azure', name: 'azure-notifications-handler', version: '1.0.1', ext: 'jar')
You need some sort of splash screen to entertain user while app is loading. But there's a catch... as app is still being loaded how can it run any code to show a splash screen? In fact it can't really, but luckily there's a solution: during the loading time, the window manager draws a placeholder UI for your app, using elements from your theme, such as the background and status bar color. Setting the theme properly allows you to i.e. show static image (no code is loaded yet, so no fancy animation at that point) instantly. The key is to create custom theme that overrides
android:windowBackground attribute, and once your app is loaded and starts running, you just replace that theme with your standard one, before calling
super.onCreate() in your Activity.
Here's Google+ post of Ian Lake that describes this technique in details: Use cold start time effectively with a branded launch theme.