> Thanks Mark, I set this once in a global Config class:
>
>   public static final boolean IS_EMULATOR =
> android.provider.Settings.Secure.ANDROID_ID == null;

That won't work. android.provider.Settings.Secure.ANDROID_ID is a key; you
have to use Settings.Secure.getString() to get the value.

> For the maps, yeah I'll have to just create the MapView instance
> through code, you can pass the key in through the constructor, I guess
> that should work,

*smacks forehead*

Didn't think to glance at the constructor. You're right -- that should be
fine, if you want to use Java code.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to