Android Open Source - myglob Defs






From Project

Back to project page myglob.

License

The source code is released under:

GNU General Public License

If you think the Android project myglob 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

/*
 * MyGlob Android Application/*from  w ww.  j a  v a 2s  .c  o m*/
 * 
 * Copyright (C) 2010 Petar Petrov
 *
 * This program 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.
 *
 * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package net.vexelon.myglob.configuration;

import java.text.SimpleDateFormat;

import net.vexelon.myglob.R;

public class Defs {
  
  public final static String LOG_TAG = "net.vexelon.myglob";
  public final static boolean LOG_ENABLED = false;
  
  // Theming
  public final static int THEME = R.style.Theme_Sherlock;
  
  public final static int CLR_BUTTON_UPDATE = 0xFFA6D060;
  public final static String CLR_TEXT_HIGHLIGHT = "#FF7F00"; //0xFFFF7F00;
  
  public final static SimpleDateFormat globalDateFormat = new SimpleDateFormat("dd-MM-yy HH:mm");

  public final static int MENU_OPTIONS_BASE = 100;
  public final static int MENU_ADD_ACCOUNT = 200;
  public final static int MENU_MANAGE_ACCOUNTS = 300;
  public final static int MENU_UPDATE_INVOICE = 400;
  
  // save/load keys
  public final static String PREFS_ALL_PREFS = "MyGlobAppPreferences";
  public final static String PREFS_KEY = "_KEY_";
  public final static String PREFS_LAST_SELECTED_ACCOUNT = "_LAST_SELECTED_ACCOUNT_";
  public final static String PREFS_LAST_SELECTED_OPERATION = "_LAST_SELECTED_OPERATION_";
  public final static String PREFS_LAST_CHECKED_INFO = "_LAST_CHECKED_INFO_";
  
  public final static String PREFS_USER_PREFS = "MyGlobAppPreferences.UserPrefs";
  public final static String PREFS_USER_COUNT = "_USER_COUNT";
  public final static String PREFS_USER_NAME = "_USER_NAME";
  public final static String PREFS_USER_PHONENUMBER = "_USER_PHONENUMBER";
  public final static String PREFS_USER_PASSWORD = "_PASSWORD";
  public final static String PREFS_USER_CHECKSTODAY = "_CHECKSTODAY";
  public final static String PREFS_USER_CHECKSTOTAL = "_CHECKSTOTAL";
  public final static String PREFS_USER_TRAFFICTODAY = "_TRAFFICTODAY";
  public final static String PREFS_USER_TRAFFICTOTAL = "_TRAFFICTOTAL";
  public final static String PREFS_USER_LASTCHECKDATETIME = "_LASTCHECKDATETIME";
  public final static String PREFS_USER_LASTCHECKDATA = "_LASTCHECKDATA";
  
  public final static int INTENT_ACCOUNT_ADD_RQ = 200;
  public final static int INTENT_ACCOUNT_EDIT_RQ = 210;
  public final static int INTENT_RESULT_ACCOUT_DELETED = 100;
  public final static String INTENT_ACCOUNT_ADD = "_ACCOUNT_ADD";
  public final static String INTENT_ACCOUNT_EDIT = "_ACCOUNT_EDIT";
  public final static String INTENT_ACCOUNT_PHONENUMBER = "_ACCOUNT_PHONENUMBER";
  
  public final static String ISTORAGE_XML_FORMAT = "ivc_%s_%s";
  
  // OBSOLETE
  public final static int INTENT_SIGNIN_RQ = 100;
  public final static String LEGACY_INTENT_EXTRA_KEY = "_SK";
  public final static String LEGACY_INTENT_EXTRA_USERNAME = "_USERNAME";
  public final static String LEGACY_INTENT_EXTRA_PASSWORD = "_PASSWORD";
  public final static String LEGACY_INTENT_EXTRA_SAVECREDENTIALS = "_SAVECREDENTIALS";
//  public final static String INTENT_EXTRA_LASTRESULT = "_LASTRESULT";
  
  public final static String DUMMY_PASSWORD = "$_DUMMY_PASSWORD_^";
  
}




Java Source Code List

net.vexelon.mobileops.GLBClient.java
net.vexelon.mobileops.GLBInvoiceXMLParser.java
net.vexelon.mobileops.GLBRequestType.java
net.vexelon.mobileops.HttpClientException.java
net.vexelon.mobileops.IClient.java
net.vexelon.mobileops.InvalidCredentialsException.java
net.vexelon.mobileops.InvoiceException.java
net.vexelon.mobileops.MTLClient.java
net.vexelon.mobileops.SecureCodeRequiredException.java
net.vexelon.myglob.AccountsArrayAdapter.java
net.vexelon.myglob.MainActivity.java
net.vexelon.myglob.OperationsArrayAdapter.java
net.vexelon.myglob.Operations.java
net.vexelon.myglob.UpdateWidgetService.java
net.vexelon.myglob.WidgetProvider4x2.java
net.vexelon.myglob.WidgetProvider.java
net.vexelon.myglob.actions.AccountStatusAction.java
net.vexelon.myglob.actions.ActionExecuteException.java
net.vexelon.myglob.actions.ActionResult.java
net.vexelon.myglob.actions.Action.java
net.vexelon.myglob.actions.BaseAction.java
net.vexelon.myglob.actions.InvoiceLoadCachedAction.java
net.vexelon.myglob.actions.InvoiceUpdateAction.java
net.vexelon.myglob.configuration.AccountPreferencesActivity.java
net.vexelon.myglob.configuration.Defs.java
net.vexelon.myglob.configuration.GlobalSettings.java
net.vexelon.myglob.configuration.LegacySettings.java
net.vexelon.myglob.crypto.CryptoAES.java
net.vexelon.myglob.crypto.Crypto.java
net.vexelon.myglob.crypto.PasswordEngineImpl1.java
net.vexelon.myglob.crypto.PasswordEngineImpl2.java
net.vexelon.myglob.crypto.PasswordEngine.java
net.vexelon.myglob.fragments.AboutFragment.java
net.vexelon.myglob.fragments.BaseFragment.java
net.vexelon.myglob.fragments.HomeFragment.java
net.vexelon.myglob.fragments.IFragmentEvents.java
net.vexelon.myglob.fragments.InvoiceFragment.java
net.vexelon.myglob.users.AccountType.java
net.vexelon.myglob.users.User.java
net.vexelon.myglob.users.UsersManager.java
net.vexelon.myglob.utils.Base64.java
net.vexelon.myglob.utils.DateUtils.java
net.vexelon.myglob.utils.TrustAllSocketFactory.java
net.vexelon.myglob.utils.UserAgentHelper.java
net.vexelon.myglob.utils.Utils.java