title: Open and Send data to another android application
body: <p>Anybody knows how to open and send a data to another application?</p>
  
  <p>I have a String that I want to send it and I used an ACTION.MAIN and putExtra for send the string:</p>
  
  <pre><code> String smth = "Test";
  
   Intent intents = new Intent(Intent.ACTION_MAIN);
   intents.setComponent(new ComponentName("com.package.address","com.package.address.HelloGlassActivity"));
   intents.putExtra("STRING", smth);
   mContext.startActivity(intents);
  </code></pre>
  
  <p>I declared the intent in Android manifest another project (Application):</p>
  
  <pre><code> &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.SEND" /&gt;
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                  &lt;data android:mimeType="text/plain" /&gt;
   &lt;/intent-filter&gt;
  </code></pre>
  
  <p>After I declare the intent in Android Manifest, I call the intent in one of my activity:</p>
  
  <pre><code>  Intent intent = getIntent();
    String tester = intent.getStringExtra("STRING");
  </code></pre>
  
  <p>Unfortunately when I run the first app, I couldn't open the second application. Anybody knows what I have missed?</p>