Nope, there is no current context.  You need to explicitly supply the
context.

On Wed, Dec 3, 2008 at 4:02 PM, Cezar Augustus Signori <
[EMAIL PROTECTED]> wrote:

>
> Hi!
>
> It would be pretty good to obtain the application context from a
> static method, without the use of an Activity object.
>
> I mean, there is a lot of frameworks that do it and its really very
> useful..
>
> Something like Context.getCurrentInstance() would help a lot..
>
> Someone know anything about that on Android?
>
> Thanks!
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to