Brian 1143 wrote:
> Hi,
> I want to access android.provider.Settings so I need a content
> resolver.
> 
> Could anyone show me how to get a content resolver in frameworks/base/
> core/java/android/os/Environment.java.

Use Context#getContentResolver(). Your activity or service is your Context.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

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

Reply via email to