Android Open Source - worldwondersproject Constants






From Project

Back to project page worldwondersproject.

License

The source code is released under:

MIT License

If you think the Android project worldwondersproject 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.ciandt.cursoandroid.worldwondersapp.infrastructure;
/*  ww w  .ja va  2  s  .c  o  m*/
public class Constants {
    public static final String HTTP_PROTOCOL = "http";

    public static interface Entity {
        public static interface User {
            public static final String TEXT_COUNTRY_BRASIL = "Brasil";
            public static final String TEXT_COUNTRY_CANADA = "Canad";
            public static final String TEXT_COUNTRY_CHINA = "China";
            public static final String INDICATOR_GENDER_MALE = "M";
            public static final String INDICATOR_GENDER_FEMALE = "F";
            public static final int INDICATOR_NOTIFICATION_ON = 1;
            public static final int INDICATOR_NOTIFICATION_OFF = 0;
        }
    }

    public static interface Bundle {
        public static final String BUNDLE_USER_NAME = "user_name";
        public static final String BUNDLE_USER_EMAIL = "user_email";
        public static final String BUNDLE_USER_PASSWORD = "user_password";
    }

    public static interface RequestCode {
        public static final int MAIN_ACTIVITY = 0;
        public static final int LOGIN_ACTIVITY = 1;
        public static final int REGISTER_ACTIVITY = 2;
    }

    public static interface Integrator {
        public static interface WorldWondersApi {
            public static final String HOST = "private-anon-406b81e0d-worldwondersapi.apiary-mock.com";
            public static final String WORLD_WONDERS_LIST = "/worldwonders";
            public static final String PROTOCOL = "http";
        }
    }

    public static interface Service {
        public static interface Tag {
            public static final String COMMAND = "command";
            public static final String RESULT_RECEIVER = "receiver";
            public static final String ERROR_MSG = "errorMsg";
            public static final String BULK_INSERT_COUNT = "bulkInsertCount";
        }

        public static interface Status {

            public static final int FINISHED = 1;
            public static final int ERROR = 2;
        }

        public static interface SyncCommand {

            public static final int PLACE_ALL = 0;
        }
    }
}




Java Source Code List

com.ciandt.cursoandroid.worldwondersapp.ApplicationTest.java
com.ciandt.cursoandroid.worldwondersapp.activity.LoginActivity.java
com.ciandt.cursoandroid.worldwondersapp.activity.MainActivity.java
com.ciandt.cursoandroid.worldwondersapp.activity.PlaceDetailActivity.java
com.ciandt.cursoandroid.worldwondersapp.activity.RegisterActivity.java
com.ciandt.cursoandroid.worldwondersapp.adapter.PlaceCursorAdapter.java
com.ciandt.cursoandroid.worldwondersapp.businesscoordinator.PlaceBusinessCoordinator.java
com.ciandt.cursoandroid.worldwondersapp.contentprovider.WorldWondersContentProvider.java
com.ciandt.cursoandroid.worldwondersapp.database.Database.java
com.ciandt.cursoandroid.worldwondersapp.database.table.PlaceTable.java
com.ciandt.cursoandroid.worldwondersapp.entity.BaseEntity.java
com.ciandt.cursoandroid.worldwondersapp.entity.Place.java
com.ciandt.cursoandroid.worldwondersapp.entity.User.java
com.ciandt.cursoandroid.worldwondersapp.fragment.PlaceDetailFragment.java
com.ciandt.cursoandroid.worldwondersapp.fragment.PlaceListFragment.java
com.ciandt.cursoandroid.worldwondersapp.infrastructure.Constants.java
com.ciandt.cursoandroid.worldwondersapp.infrastructure.NetworkUtil.java
com.ciandt.cursoandroid.worldwondersapp.integrator.BaseIntegrator.java
com.ciandt.cursoandroid.worldwondersapp.integrator.GeneralIntegrator.java
com.ciandt.cursoandroid.worldwondersapp.integrator.PlaceIntegrator.java
com.ciandt.cursoandroid.worldwondersapp.listener.DatabaseOperatorCallback.java
com.ciandt.cursoandroid.worldwondersapp.listener.IntegratorOperatorCallback.java
com.ciandt.cursoandroid.worldwondersapp.manager.DatabaseManager.java
com.ciandt.cursoandroid.worldwondersapp.manager.LoginManager.java
com.ciandt.cursoandroid.worldwondersapp.manager.PlaceManager.java
com.ciandt.cursoandroid.worldwondersapp.manager.RegisterManager.java
com.ciandt.cursoandroid.worldwondersapp.service.SyncService.java
com.ciandt.cursoandroid.worldwondersapp.service.syncer.PlaceSyncer.java
com.ciandt.cursoandroid.worldwondersapp.service.syncer.Syncer.java