/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.samsung.android.remindme; import com.samsung.remindme.allshared.AllConfig; /** * Configuration settings for the Android client. */ public class Config extends AllConfig { public static final String SERVER_BASE_URL = "http://remindme-android.appspot.com"; public static final String SERVER_RPC_URL = SERVER_BASE_URL + "/remindmerpc"; public static final String SERVER_AUTH_URL_TEMPLATE = SERVER_BASE_URL + "/_ah/login?auth=%s"; /** * Enabling this is will turn on sync UI icons that notify the user of pending and active sync * status. This is useful for debugging, but generally not recommended for real applications, * as sync on Android is intended to be unobtrusive. Users can get the same sync status info * by going to Settings > Accounts & Sync. */ public static final boolean ENABLE_SYNC_UI = false; @SuppressWarnings("unchecked") public static String makeLogTag(Class cls) { String tag = "RemindMe_" + cls.getSimpleName(); return (tag.length() > 23) ? tag.substring(0, 23) : tag; } }