Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1036423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:42:05+00:00 2026-05-16T14:42:05+00:00

Possible Duplicate: What is Context in Android? Can anybody please tell me about the

  • 0

Possible Duplicate:
What is Context in Android?

Can anybody please tell me about the “context” term used in android. I wonder what exactly this means because this is something i used to see at lots of places.

I found it being a Class :- “Interface to global information about an application environment” but I am not quite clear regarding it still by now.

for Instance:
public GetCurrentLocation(Context context)
{
this.context = context;
}

Thanks,
david

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:42:06+00:00Added an answer on May 16, 2026 at 2:42 pm

    I have answered it here

    this.context = context is written confusingly. Another way to write the same:

    public class LocationClass {
    
    private Context context_belonging_to_class = null;
    
    // ..
    
    public GetCurrentLocation(Context context_from_call_entity) {
      context_belonging_to_class = context_from_calling_entity; // initializing context variable
    }
    
    // ..
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: NoClassDefFoundError - Eclipse and Android I'm seeing this question is getting asked
Possible Duplicate: Can we delete an SMS in Android before it reaches the inbox?
Possible Duplicate: How do I calculate someone's age in C#? Maybe this could be
Possible Duplicate: Singleton: How should it be used Following on from Ewan Makepeace 's
Possible Duplicate: Intent to launch the clock application on android I have a widget
Possible Duplicate: How to programatically take a screenshot on Android? How to capture the
Possible Duplicate: non static method cannot be referenced from static context hey i have
Possible Duplicate: Where is EntityConfiguration in EF4 VS 2010 RTM? I apologize if this
Possible Duplicate: How can one host Flash content in a WPF application and use
Possible Duplicate: Why not use tables for layout in HTML? Under what conditions should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.