Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 06-30-2010, 10:02 PM   #1
Vishal
 
Join Date: Jun 2010
Location: Bangalore, India
Posts: 1
Friends: 0
View vishksin's Profile   View vishksin's Photo Album   View vishksin's Blog   View Social Groups
Hi all,

I recently moved in to develop some application in Android.
Right now i am undergoing training.

Can anyone explain me the difference between Base Context, Application Context and Activity Context.

To my understanding:
Base Context is a reference to the System.

The hierarchy follows as:
System -> Context Wrapper -> Context -> App -> Activity

So if any view is to be dealt within the Activity i should use the Activity Context "this", by this, the moment the activity is killed the reference to the activity dies down.

Correct me if i am wrong...
vishksin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Context menu for whole screen or view in android andcoder Android Development, Answers, Tutorials, and Code Snippets 0 08-26-2009 11:19 PM
Getting error - context requires the FLAG_ACTIVITY_NEW_TASK flag BDP Android Development, Answers, Tutorials, and Code Snippets 0 04-30-2009 07:31 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.