IllegalStateException : Cannot perform this action after onSaveInstanceState()

Many of you might have encountered this exception while working with fragments . The source for this issue can be different based on the use case but if you look under the hood this happens only because of one reason- mismanagement of Activity states. In this article we will be discussing the same. First we will explain what happens behind the scenes and what is source of this crash and then most importantly how to resolve it.

stack_trace.PNG

Continue reading

[Android Example] Best solution for Fragment IllegalStateException

Many of you might have encountered this exception while working with fragments . The source for this issue can be different based on the use case but if you look under the hood this happens only because of one reason- mismanagement of Activity states. In this article we will be discussing the same. First we will explain what happens behind the scenes and what is source of this crash and then most importantly how to resolve it.

stack_trace.PNG

Continue reading

[Android Example] Writing text/pasting Image on Bitmap image programatically

In this example we will learn how to programatically write text/paste image on an Image in Android . Before beginning with the example lets clear some basics

What is Bitmap Image in Android ?

A Bitmap image is a series of tiny dots(called pixels) which are arranged in a pattern to form an Image. Each pixel is a small square assigned with a color. You can actually see this square pixel when you extra zoom into a image. The whole image can be edited by erasing or changing colors of individual pixels using different software tools. Android also allows us to work on Bitmaps with the help of various APIs.

bitmap_image.jpg

Continue reading

iPhone 7-Complete Review with Price

Apple recently launched iPhone 7 and it was a big deal. as always. With so much drama  around the new iPhone I decided to move aside from my regular Android love and have look at this new beast in the smart phone jungle.

apple-iphone-7-release-date

 

Continue reading

What is Android ?

 

aspic1
It doesn’t matter whether you are a computer geek or someone who doesnt understand computer. You might have definitely heard the term “Android”.You might have heard of people buying android mobiles, updating their phones to latest Android Version, downloading an Android app.So What the heck is this ANDROID. And for those who don’t really understand Computer Science this might be a million dollar question. Fortunately it has a very simple answer. Android is just an Open Source Linux-based Mobile Operating System.(WOW! This is a heavy term )Don’t worry Let me explain what exactly is an operating system.

Continue reading

Android History : How it Started ?

 

aspic1
It doesn’t matter whether you are a computer geek or someone who doesn’t understand computer, You might have definitely heard the term “Android”. You might have heard of people buying android mobiles, updating their phones to latest Android Version, downloading an Android app. So What the heck is this ANDROID and how it started.  And for those who don’t really understand computer science this might be a million dollar question. Fortunately it has a very simple answer. Android is just an Open Source Linux-based Mobile Operating System which started in 2005 (technically 2003). This  article will explain every thing  about android history. How Android started and went on become the most popular mobile OS. Let us start from the beginning

Continue reading