package in.co.nebulax.magpie;

public class Constants {

	// url to get data JSON
	public static String urlGet = "http://10.0.2.2:1111/all";
	public static String urlPost = "http://10.0.2.2:1111/change";
	
	//JSON Node Names
	public static String TAG_DATA = "data";
	public static String TAG_DEVICE = "device";
	public static String TAG_STATUS = "status";
	public static String TAG_NAME = "name";
}

package in.co.nebulax.magpie;

public class Constants {

	// url to get data JSON
	public static String urlGet = "http://10.0.2.2:1111/all";
	public static String urlPost = "http://10.0.2.2:1111/change";
	
	//JSON Node Names
	public static String TAG_DATA = "data";
	public static String TAG_DEVICE = "device";
	public static String TAG_STATUS = "status";
	public static String TAG_NAME = "name";
	public static String TAG_TYPE="type";
}

Add type to application constants