Skip to main content

Posts

Showing posts from February, 2017

What is context in android ?

The topic of Context in Android seems to be confusing too many. People just know that Context is needed quite often to do basic things in Android. People sometimes panic because they try to do perform some operation that requires the Context and they don’t know how to “get” the right Context. I’m going to try to demystify the idea of Context in Android. A full treatment of the issue is beyond the scope of this post, but I’ll try to give a general overview so that you have a sense of what Context is and how to use it.
What exactly is Context?


Well, the documentation itself provides a rather straightforward explanation: The Context class is an “Interface to global information about an application environment". The Context class itself is declared as abstract class, whose implementation is provided by the Android OS. The documentation further provides that Context “…allows access to application-specific resources and classes, as well as up-calls for application-level operations such as…

Browser-Refresh : A useful plugin for developers

Best Editor and Plugin for Web Development:
As a developer I am very curious about choosing the best editor for my development purposes. Today I am going to show you about the best editor – “SUBLIME TEXT” and also a plugin called “BROWSER-REFRESH” which makes development easy.

Sublime Text is a sophisticated text editor for code, markup and prose.
You'll love the slick user interface, extraordinary features and amazing performance.
It also contains a package manager through which you can install large number of plugins for your development purposes. I have linked the website for you to download sublime text. https://www.sublimetext.com/

Browser-Refresh :
It is irritating for every web developer to save the file, then go to the browser and refresh. That is really a tedious work since we write hundreds of lines of code. Instead browser-refresh helps you to sync your code with the browser so that the next time you make changes to your code, the actions are automatically reflected in the bro…