Back to project page LearnByHeart.
The source code is released under:
Apache License
If you think the Android project LearnByHeart listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.mps.learn.pb.util; /*from w ww .jav a 2 s. c o m*/ /** * * A set of constants used by all of the components in this application. To use * these constants the components implement the interface. */ public final class CommonConstants { public static final String EXTRA_MESSAGE = "Message"; public static final String EXTRA_RECENT_HOUR_INTERVAL = "Recent_Hour_Interval"; public static final int DEFAULT_NOTIFICATION_INTERVAL = 10; public CommonConstants() throws Exception { // don't allow the class to be instantiated throw new Exception("Instantation not allowed"); } public interface GCMConstants { public static final String EXTRA_MESSAGE = "message"; public static final String PROPERTY_REG_ID = "registration_id"; public static final String PROPERTY_APP_VERSION = "appVersion"; public static final int PLAY_SERVICES_RESOLUTION_REQUEST = 9000; public static final String SENDER_ID = "519106014204"; } }