Package 

Class CloudmadeUtil


  • 
    public class CloudmadeUtil
    
                        

    Utility class for implementing Cloudmade authorization. See http://developers.cloudmade.com/projects/show/auth

    The CloudMade token is persisted because it doesn't change: http://support.cloudmade.com/answers/api-keys-and-authentication "you will always get the same token for the unique user id"

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public static boolean DEBUGMODE
    • Method Summary

      Modifier and Type Method Description
      static void retrieveCloudmadeKey(Context aContext) Retrieve the key from the manifest and store it for later use.
      static String getCloudmadeKey() Get the key that was previously retrieved from the manifest.
      static void setCloudmadeKey(String key) Get the key that was previously retrieved from the manifest.
      static String getCloudmadeToken() Get the token from the Cloudmade server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait