If you think the Android project frc-notebook listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.plnyyanks.frcnotebook;
//www.java2s.comimport android.widget.LinearLayout;
import java.util.HashMap;
/**
* File created by phil on 2/18/14.
* Copyright 2014, Phil Lopreiato
* This file is part of FRC Notebook.
* FRC Notebook is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* FRC Notebook is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with FRC Notebook. If not, see http://www.gnu.org/licenses/.
*/publicclass Constants {
publicstaticfinal String LOG_TAG = "com.plnyyanks.frcnotebook";
publicstaticfinal String TBA_HEADER = "X-TBA-App-Id";
publicstaticfinal String TBA_HEADER_TEXT = "plnyyanks:frcNotebook:v2.4";
publicstaticfinal LinearLayout.LayoutParams lparams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
publicstaticfinal String DB_BACKUP_NAME = "backup.json";
publicstaticfinalint CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE = 100;
publicstaticfinalint SELECT_FILE_REQUEST_CODE = 101;
publicstaticfinal HashMap<String, String> MATCH_LEVELS;
static {
MATCH_LEVELS = new HashMap<String,String>();
MATCH_LEVELS.put("Quals","q");
MATCH_LEVELS.put("q","q");
MATCH_LEVELS.put("qm","q");
MATCH_LEVELS.put("Qtr", "qf");
MATCH_LEVELS.put("Quarters","qf");
MATCH_LEVELS.put("qf","qf");
MATCH_LEVELS.put("Semi", "sf");
MATCH_LEVELS.put("Semis","sf");
MATCH_LEVELS.put("sf","sf");
MATCH_LEVELS.put("Finals","f");
MATCH_LEVELS.put("Final", "f");
MATCH_LEVELS.put("f","f");
}
publicenum DATAFEED_SOURCES{
TBAv1,
TBAv2,
USFIRST;
}
}