On Jul 26, 2011, at 9:31 AM, Tim Kelly wrote:
> Android.Provider.Settings.Secure.GetString( XXXXXXXX ,
> Android.Provider.Settings.Secure.AndroidId);
>
> What actually goes where the XXXXXXXX are?
`XXXXXXXX` is a ContentResolver instance, which you can obtain via the
Context.ContentResolver property:
http://docs.mono-android.net/Android.Content.Context.ContentResolver
If you're within a Context subclass (e.g. Activity, or Service), then you can
just use:
Android.Provider.Settings.Secure.GetString(ContentResolver,
Android.Provider.Settings.Secure.AndroidId);
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid