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";
}

@@ -390,10 +390,49 @@
 %22name%22;%0A
+%09public static String TAG_TYPE=%22type%22;%0A
 %7D%0A

Add type to application constants