-
public class CloudmadeUtilUtility 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 booleanDEBUGMODE
-
Method Summary
Modifier and Type Method Description static voidretrieveCloudmadeKey(Context aContext)Retrieve the key from the manifest and store it for later use. static StringgetCloudmadeKey()Get the key that was previously retrieved from the manifest. static voidsetCloudmadeKey(String key)Get the key that was previously retrieved from the manifest. static StringgetCloudmadeToken()Get the token from the Cloudmade server. -
-
Method Detail
-
retrieveCloudmadeKey
static void retrieveCloudmadeKey(Context aContext)
Retrieve the key from the manifest and store it for later use.
-
getCloudmadeKey
static String getCloudmadeKey()
Get the key that was previously retrieved from the manifest.
-
setCloudmadeKey
static void setCloudmadeKey(String key)
Get the key that was previously retrieved from the manifest.
-
getCloudmadeToken
static String getCloudmadeToken()
Get the token from the Cloudmade server.
-
-
-
-