how to send a parameter an activity class to a normal class?
<p>in my project i am using voice recognition. i want to take the result of that class and pass it another class. But because this class is not an activity class, i cant use intent. the codes i use in voice recognition are like that:</p>

<p>protected void onActivityResult(int requestCode, int resultCode, Intent data)
    {</p>

<pre><code>     if (requestCode == REQUEST_CODE &amp;&amp; resultCode == RESULT_OK){
         ArrayList&lt;String&gt; matches = new ArrayList&lt;String&gt;();
    matches = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);


    if(matches.size()&gt;0)  {
         result = matches.get(0);}}
</code></pre>

<p>I want to take that result and use another class which is not an activity class. So please help me</p>
