How To Initialize Context?
This is a really stupid question but what do I set context equal to in Context context = ... Just declaring it sets it to null and I need to use context for my app.
Solution 1:
You cannot instantiate a Context object. This is controlled by the system. However, every Application has a Context and every Activity is a Context, so you have a couple of was to obtain a pointer to a Context object:
Post a Comment for "How To Initialize Context?"