SqueezeDroidConstants.java :  » UnTagged » squeeze-droid » net » chrislehmann » squeezedroid » activity » Android Open Source

Android Open Source » UnTagged » squeeze droid 
squeeze droid » net » chrislehmann » squeezedroid » activity » SqueezeDroidConstants.java
package net.chrislehmann.squeezedroid.activity;

public class SqueezeDroidConstants
{
   public static class RequestCodes
   {
      public static final int REQUEST_SHOW_SETTINGS = 110;
      public static final int REQUEST_CONNECT = 111;
      public static final int REQUEST_CHOOSE_PLAYER = 112;
      public static final int REQUEST_BROWSE = 113;
   }
   public static class ResultCodes
   {
      public static final int RESULT_DONE = 999;
   }
   
   public static class IntentDataKeys
   {
      protected static final String KEY_SELECTED_PLAYER = "keySelectedPlayer";
      protected static final String KEY_DIALOG_NAME = "dialogName";
      protected static final String KEY_PLAYERLIST_INCLUDE_SELECTED_PLAYER = "includeSelectedlayer";
      protected static final String KEY_PLAYERLIST_REMOVE_DUPLICATE_PLAYERS = "removeDuplicatePlayers";
      protected static final String KEY_PLAYERLIST_EMPTY_PLAYER_NAME = "emptyPlayerName";
      protected static final String KEY_BROWSEAPPLICATION_APPLICATION = "application";
      protected static final String KEY_BROWSEAPPLICATION_PARENTITEM = "parent_item";
      public static final String KEY_BROWSEAPPLICATION_SEARCHTEXT = "search_text";
   }
   public static class Actions
   {
      public static final String ACTION_CHOOSE_PLAYER = "net.chrislehmann.squeezedroid.action.ChoosePlayer";
      public static final String ACTION_EDIT_PREFERENCES = "net.chrislehmann.squeezedroid.action.EditPreferences";
      public static final String ACTION_CONNECT = "net.chrislehmann.squeezedroid.action.ConnectToServer";
      
   }
   public static class Preferences
   {
      public static final String LAST_SELECTED_PLAYER = "last_selected_player";
   }

   public static class FolderObjectTypes
   {
      public static final String DIRECTORY = "folder";
      public static final String TRACK = "track";
      public static final String PLAYLIST = "playlist";
      public static final String UNKNOWN = "unknown";

   
   }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.