Singleton Design Pattern is basically used when we want to limit object creation. Singleton Design Pattern is considered one of the most simple design pattern. The main concern of this pattern is to ensure that only one instance of a class is created and provide a global point of access to the object. We … Continue reading Memory Leak in Singleton Pattern
Android market has increased tremendously. Every day new mobile phone gets launch, and while uninstalling our app from old phone app's data gets lost. As a developer it would always be a great idea backup your user's app data to their google drive, so when they reinstall the app they can fetch back their data … Continue reading Auto backup of Android Application
If we are dealing with the application which uses significant amount of images then png and jpeg format would be occupying more space. WebP is the Image format from Google for better compression than JPEG and PNG files. Using WebP developer can create rich and compact image. The statics shows that lossless image is 26% … Continue reading Reduce .apk file size by WebP
Why we need another programming language when we have such a productive language called as Java for Andorid Development, which has been used since decades?. Is Kotlin that potent and useful? Will it stand equal or far better than Java? Well answer for all this depend on the furture reading. Kotlin’s primary development is from … Continue reading Why we need Kotlin?
We all are well know by the term “Dalvik” and its usage. Dalvik is a virtual machine (VM) for Android operating system. Java program which are compiled by Java compiler in bytecode and store in .class file which are given to dx tool for translating it into Dalvik bytecode which are store in .dex file. This dex … Continue reading ART (Android Runtime)
Kotlin REPL stands for Read- Eval- Print- Loop. It is one of the interactive shell tool to quickly run a part of code directly without actually running the whole app. REPL is a interactive computer programming environment that takes single user inputs (i.e. single expressions), evaluates them, and returns the result to the user Location … Continue reading REPL in Kotlin
Google had introduced tool named Color Tool on April 2017. It is one of the best source to create attractive UI by choosing color schemes that include darker and lighter variations of your primary and secondary colors. Well many of us struggled hard to find the attractive and eye appealing color scheme for our application … Continue reading Color Tool