Android Open Source - SeeKampf Constants






From Project

Back to project page SeeKampf.

License

The source code is released under:

GNU General Public License

If you think the Android project SeeKampf 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 net.avedo.seekampf.utils;
/*w  ww.  j  a  v a 2s  .com*/
public class Constants {
    // Prevent instantiating.
    private Constants() {}

    // Activity request codes.
    public static final int ACTIVITY_REQUEST_EDIT = 0;
    public static final int ACTIVITY_REQUEST_VIEW = ACTIVITY_REQUEST_EDIT + 1;
    public static final int ACTIVITY_REQUEST_DELETE = ACTIVITY_REQUEST_VIEW + 1;

    // Activity result codes.
    public static final int ACTIVITY_RESULT_OK = 0;
    public static final int ACTIVITY_RESULT_CANCEL = ACTIVITY_RESULT_OK + 1;
    public static final int ACTIVITY_RESULT_MISSING_ARGUMENT = ACTIVITY_RESULT_CANCEL + 1;
    public static final int ACTIVITY_RESULT_UNKNOWN_OBJECT = ACTIVITY_RESULT_MISSING_ARGUMENT + 1;
    public static final int ACTIVITY_RESULT_NETWORK_ERROR = ACTIVITY_RESULT_UNKNOWN_OBJECT + 1;
    public static final int ACTIVITY_RESULT_JSON_ERROR = ACTIVITY_RESULT_NETWORK_ERROR + 1;

    // Fragment type constants.
    public static final int FRAGMENT_ISLAND_DETAILS = 0;
    public static final int FRAGMENT_ISLAND_EDIT = FRAGMENT_ISLAND_DETAILS + 1;
    public static final int FRAGMENT_MESSAGE_DETAILS = FRAGMENT_ISLAND_EDIT + 1;
    public static final int FRAGMENT_MESSAGE_EDIT = FRAGMENT_MESSAGE_DETAILS + 1;
    public static final int FRAGMENT_HOME_DETAILS = FRAGMENT_MESSAGE_EDIT + 1;
    public static final int FRAGMENT_HOME_EDIT = FRAGMENT_HOME_DETAILS + 1;
    
    // Intent extra constants.
    public static final String INTENT_EXTRA_ID = "INTENT_EXTRA_ID";
    public static final String INTENT_EXTRA_FRAGMENT = "INTENT_EXTRA_FRAGMENT";
    
    // Domain object constants.
    public static final long DEFAULT_ID = -1;

    // Network constants.
    public static final int MAXIMUM_RETRIES = 3;
    public static final int DEFAULT_LIMIT = 25;

    public static final String SERVER_URL = "https://www.seekampf.de";
    public static final String API_URL = "https://www.seekampf.de/api/api2.php";

  // Define the Navigation end points.
  public static final int NAVIGATION_HOME = 0;
  public static final int NAVIGATION_AUCTION_HOUSE = NAVIGATION_HOME + 1;
  public static final int NAVIGATION_PLAYERS = NAVIGATION_AUCTION_HOUSE + 1;
  public static final int NAVIGATION_ISLANDS = NAVIGATION_PLAYERS + 1;
  public static final int NAVIGATION_ALLIANCES = NAVIGATION_ISLANDS + 1;
  public static final int NAVIGATION_MESSAGES = NAVIGATION_ALLIANCES + 1;
  public static final int NAVIGATION_SETTINGS = NAVIGATION_MESSAGES + 1;
  public static final int NAVIGATION_ABOUT = NAVIGATION_SETTINGS + 1;
}




Java Source Code List

net.avedo.seekampf.BuildConfig.java
net.avedo.seekampf.core.ChangeLog.java
net.avedo.seekampf.core.CustomAdapter.java
net.avedo.seekampf.core.MainActivity.java
net.avedo.seekampf.core.OceanView.java
net.avedo.seekampf.core.OverScrollerCompat.java
net.avedo.seekampf.core.RestDetailsActivity.java
net.avedo.seekampf.core.ScaleGestureDetectorCompat.java
net.avedo.seekampf.core.VolleyActivity.java
net.avedo.seekampf.core.Zoomer.java
net.avedo.seekampf.fragments.AboutFragment.java
net.avedo.seekampf.fragments.AllianceListFragment.java
net.avedo.seekampf.fragments.AuctionListFragment.java
net.avedo.seekampf.fragments.HomeDetailsFragment.java
net.avedo.seekampf.fragments.HomeFragment.java
net.avedo.seekampf.fragments.IslandDetailsFragment.java
net.avedo.seekampf.fragments.IslandListFragment.java
net.avedo.seekampf.fragments.MessageDetailsFragment.java
net.avedo.seekampf.fragments.MessageListFragment.java
net.avedo.seekampf.fragments.OceanFragment.java
net.avedo.seekampf.fragments.PlayerListFragment.java
net.avedo.seekampf.fragments.RestDetailsFragment.java
net.avedo.seekampf.fragments.RestListFragment.java
net.avedo.seekampf.fragments.SettingsFragment.java
net.avedo.seekampf.models.Alliance.java
net.avedo.seekampf.models.Auction.java
net.avedo.seekampf.models.BaseModel.java
net.avedo.seekampf.models.Island.java
net.avedo.seekampf.models.Message.java
net.avedo.seekampf.models.Player.java
net.avedo.seekampf.utils.AuthGsonRequest.java
net.avedo.seekampf.utils.Constants.java
net.avedo.seekampf.utils.Interfaces.java
net.avedo.seekampf.utils.VolleyErrorHelper.java