Oh I'm running 1.5 too, but I think that should be fine. On Nov 15, 8:05 pm, Mark Wyszomierski <[email protected]> wrote: > Ok I just tried with my one and only activity, still returns null: > > class MyActivity extends Activity { > private String mId; > > �...@override > public void onCreate(..) { > mId = Settings.Secure.getString(this, ...); > } > } > > I just pop it up via a dialog box, tried looking at it in LogCat too > (with phone hooked up), same. I'm stumped! > > On Nov 15, 7:52 pm, Mark Murphy <[email protected]> wrote: > > > Mark Wyszomierski wrote: > > > What does rooted mean? > > > Having the ability to run as root, which is roughly the Linux equivalent > > to the Administrator account in Windows. > > >http://android-dls.com/wiki/index.php?title=Why_Root > > > > Things that might be messing it up: > > > > 1) I don't have a SIM card in the device (just using wifi) > > > 2) I am using getAppplicationContext() for the context parameter in > > > that call > > > > Other than that - everything else is 'normal'.. I think? > > > Try a different Context -- use an Activity, Service, or ContentProvider. > > > getApplicationContext(), near as I can tell, is tantamount to useless as > > a Context. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > _The Busy Coder's Guide to *Advanced* Android Development_ > > Version 1.2 Available! > >
-- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

