android - What is the getApplicationContext() method? -


i busy learning android , came across getapplicationcontext method. didn't understand used , it's purpose is.

the context object used across application many things access resources android os has allocated you.

  • using getsystemservice, handle of service , can wonders.
  • pass context object classes toast

it useful , powerful if used correctly.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -