1. Are you ready for the Galaxy S20? Here is everything we know so far!

What is Context for? - why do we use it?

Discussion in 'Android Development' started by jazzninja, Feb 7, 2011.

  1. jazzninja

    jazzninja Lurker
    Thread Starter

    Hey,
    I'm not sure why we need to call Context in app programming. What does it do?
    Thanks
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Tapirboy

    Tapirboy Newbie

    Context is the superclass for activities, services, broadcastreceivers etc and gives you fundamental functionality as startService, startActivity, sendBroadcast etc.

    Read more:

    Context | Android Developers
     
Loading...

Share This Page

Loading...