Category Archives: Android

How to disable home button in an activity

Starting from an android application, you can add to the intent-filter section of the AndroidManifest.xml file some code to have it as: https://gist.github.com/udayatom/eb144a375d6c759f698413b41b031d0d The problem with this solution is that you get a selection box  (till you select a default) that let you choose which intent you want to use.

How To fix white screen on app Start up?

Before loading the splash screen, application gets some white or black screen. The reason behind is android before loading any application take the preview itself, that time only shows the blank screen. We can avoid using following snippets. https://gist.github.com/udayatom/8e13b40041490d2051ae9325015399d6