아래 코드처럼 php에서 c2dm 메세지를 보내고 있는데요.
서버에서는 정상적으로 가는 것 같은데.
app에서 null로 받아집니다.
원인이 뭔지 몰라 삽질중입니다..
도와주세요 ...미리 감사드립니다..

<php 코드>
$authCode = googleAuthenticate($username, $password, $source, $service = 'ac2dm');
$ch = curl_init();  
curl_setopt($ch, CURLOPT_URL, "https://android.apis.google.com/c2dm/send");
$headers = array('Authorization: GoogleLogin auth=' . $authCode);

$collapseKey = iconv( 'euckr', 'utf8', "1");
$messageText  = iconv( 'euckr', 'utf8', "C2DM Test ..");

$use_array = false;
if (!$use_array) {
$data = "registration_id=$regid&collapse_key=$collapseKey&data.message=".(urlencode("{$messageText}"));
echo $data;
}
if ($use_array) {
$data = array(
"Content-Type: application/x-www-form-urlencoded",
"Content-Length: ".strlen($data),
'registration_id' => $regid,
'collapse_key' => $collapseKey,
'data.message' => $messageText  
);
}

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

$result = curl_exec($ch);
echo 'result='.$result."\n";

curl_close($ch);

<app>

private void handleMessage(Context context, Intent intent)
{
String ms = intent.getStringExtra("msg");
Log.d("", "message="+msg);
}