Twitter Sample Android Apps
We store variables in a file called Constants.java within the src folder. This file will be as follows:
package com.twitterdev.hello_world.app;
/**
* Created by @gpj
*/
public final class Constants {
public static final String API_KEY = "OHaMQmsCWxztwsyAuGUzpA";
public static final String API_SECRET = "SmB14xnLuludM2UG8DHz99eAqDEIGsS5MSbDD19IWw";
public static final String PREFS_NAME = "hello_world_app";
public static final String CALLBACKURL = "app://twitter-dev";
}