title: Passing Parameters from An Activity to BroadcastReceiver
body: <p>Hey I have been trying to pass an array of string from my activity to broadcast receiver but it always give me null at broadcast receive i have tried it in 2-3 ways.</p>
  
  <pre><code>// Code in Receiver
  String stringText= intent.getExtras().getString("string_text");
  
  //Code in Activity
     Intent i = new Intent("android.intent.action.PHONE_STATE");
  i.putExtra("string_text", "abc");
   sendBroadcast(i);
  </code></pre>
  
  <p>but at receiver end stringText always come null. I have tried it in another way but no luck</p>
  
  <pre><code>String text= (String)intent.getSerializableExtra("string_text");
  </code></pre>
  
  <p>But till now no luck can anyone help me with this issue?</p>