title: put and get Broadcast Receiver
body: <p>How to get the value that i put in Broadcast Receiver? 
  Please help me</p>
  
  <p>In my Activity</p>
  
  <pre><code>public static void startActivity(Context context) {
     //what can i put here?
  }
  </code></pre>
  
  <p>In Intent Service </p>
  
  <pre><code>intent.putExtra("DriversID", 1351351);
  sendBroadcast(intent);
  </code></pre>
  
  <p>my Broadcast Reciver</p>
  
  <pre><code>public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
  
     @Override
      public void onReceive(Context context, Intent intent) {
  
       Bundle bundle = intent.getExtras();
  
      String DriversID = null;
      if (bundle != null) {
          DriversID = bundle.getString("DriversID");
          Toast.makeText(context, "DriversID", Toast.LENGTH_LONG).show();
      }
  
      Intent i = new Intent(context, DashboardActivity.class);
      i.putExtra("getDriversID", DriversID);
      context.startActivity(i);
  
  
      ComponentName comp = new ComponentName(context.getPackageName(),
              GcmIntentService.class.getName());
      startWakefulService(context, (intent.setComponent(comp)));
      setResultCode(Activity.RESULT_OK);
       }
  }
  </code></pre>
  
  <p>here is the exact scenario , when the GCM notify me i will get the message from inten  and post it to broadcast and then  activity will get the value of message , how about that ?</p>