GCM: how to send paylaod?
<p>I used the demo GCM example provided by Google, it works fine, except it sends by default message "GCM: you received message!", I would like to alert to send instead a string, but dont know how?</p>

<p>Server code:</p>

<pre><code> Message message =new Message.Builder().addData("data", "hello client").build();

     Result result = sender.send(message, registrationId, 5);
</code></pre>

<p>Client Code:</p>

<pre><code> public void onReceive(Context context, Intent intent) {


            String details = intent.getStringExtra("data");
            System.out.println("Message="+details);

        }
</code></pre>

<p>does any body have an example of GCM example with payload?</p>
