Strict Mode Policy : A tool to catch the bug in the Compile Time.

Introduction

Strict Mode is a special class introduced in Android 2.3 for debugging. This developer tools detect things done accidentally and bring them to our attention so that we can fix them. It is most commonly used to catch the accidental disk or network access on the applications’ main thread, where UI operations are received and animations takes place.
StrictMode is basically a tool to catch the bug in the Compile Time mode.

Remarks

StrictMode is basically a tool to catch the bug in the Compile Time mode. Using this we can avoid the memory leaks in our applications.

The below code deals with leaks of memory, like it detects when in SQLLite finalize is called or not.