public static void postData() {

		new Thread(new Runnable() {

			@Override
			public void run() {

				// Create a new HttpClient and Post Header
				HttpClient httpclient = new DefaultHttpClient();
				HttpPost httppost = new HttpPost(
						"https://a...content-available-to-author-only...s.com/gcm/send");
				httppost.addHeader("Authorization", "key="
						+ CommonUtilities.GOOGLE_API_KEY);
				httppost.addHeader("Content-Type", "application/json");

				try {
					// Add your data
					List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(
							2);
					nameValuePairs.add(new BasicNameValuePair(
							"registration_ids", CommonUtilities.tempID));
					nameValuePairs.add(new BasicNameValuePair("data",
							"test send"));
					httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));

					// Execute HTTP Post Request
					HttpResponse response = httpclient.execute(httppost);

				} catch (ClientProtocolException e) {
				} catch (IOException e) {
				}
			}
		}).start();
	}