Android getIntent() returns current activity : <p>I have a question about getIntent();
Somebody makes activity(Activity A) to call my Activity(Activity B). So it's different package name. The problem is that when I use getIntent(), the return of getIntent is Activity B. so intent.getExtras() is null. 
What is problem? I think getIntent() should return Activity A.
It's good work to start from Activity A to B.</p>

<p>Activity A</p>

<pre><code>Intent intent = new Intent();
intent.setClassName(B Package, B Activity);
intent.putExtra("Test", test);
startActivityForResult(intent, REQUEST_OK);
</code></pre>

<hr>

<p>Activity B</p>

<pre><code>Intent intent = getIntent();
Log.d(TAG, "" +getIntent());
if(intent.getExtras() != null){
        String name = intent.getStringExtra("Test");
}
</code></pre>

<p>Thanks.</p>
