get Intent from specific class or Activity because PutExtras() from Intents not resolving
<p>ok am having a funny problem here, scenario is like this:</p>

<p>Intent i of Activity "B" calls Activity "A" and the method in onCreate() of Activity "A" runs; </p>

<p>intent j of activity "B" calls Activity "A" and puts an "Int" extra which i can use to call a method in Activity "A"</p>

<p>intent x, y and z of TabActivity "C" calls Activity "A" and puts a "String" Extra in other to start a different method in Activity "A";</p>

<p>problem am having is that, regardless of what i put in the intent of Activity "C", the method from intent j keeps executing.</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

                          fillData(); // intent i of Activity B

            HandleIntent(getIntent()); // other intents

    }

    public void HandleIntent(Intent intent){
        getIntent();

        if(getIntent().getExtras() != null){
    int priorityrequest = intent.getIntExtra("com.MyApp.PriorityRequestCode" PRIORITY_REQUEST_CODE);

        if(priorityrequest == 1){
            PSData(); //  from intent j of Activity B this keeps executing
        } 
 int homerequest = intent.getIntExtra("com.MyApp.HomeRequestCode", HOME_REQUEST_CODE);
         if(homerequest == 3){
             HomeData(); // doesn't execute keeps executing PSData();
         }
          }
    }

    public void onNewIntent(Intent newIntent){
        HandleIntent(getIntent());
        super.onNewIntent(newIntent);   
    }
</code></pre>

<p>From the code, PSData() keeps executing regardless of if i send another intent from another activity with the HOME_REQUEST_CODE. or is it possible to get Intent from a specific class or activity?...</p>
