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

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -