title: How to store separate constant class for constant variables in Android development
body: <p>I have constant variables in Android app like below. I want to move them to a separate constant class so it will be cleaner. What do you suggest? What kind of file do I create in project and do I simply import that constant class in MainActivity class? What I am looking for is similar to constants.h file in C++. What do you guys suggest? </p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  
  
  public static final String NET_SALE = "com.domain.mobile.tipcalculator.MESSAGE1";
  public static final String SER_CHRG = "com.domain.mobile.tipcalculator.MESSAGE2";
  public static final String TRN_IN = "com.domain.mobile.tipcalculator.MESSAGE3";
  public static final String TRN_OUT = "com.domain.mobile.tipcalculator.MESSAGE4";
  public static final String POOL = "com.domain.mobile.tipcalculator.MESSAGE5";
  public static final String RADIO = "com.domain.mobile.tipcalculator.MESSAGE6";
  </code></pre>