How to call An activity class from nonactivityclass (class without extends anything) in android?
<p>I want call an activity class from a normal java class(without extends anything) for every some time interval to refresh the Ui, Is it possible to call an activity from normal java class. We can call the activity from another activity using intent and startactivity. But am not sure about calling the activity from class.</p>

<p>For example</p>

<pre><code> class example extends Activity
    {

    }
class example2 extends Activity
{
// we can call like
Intent intent = new Intent(this.example2,example.class);
startActivity(intent);
}

    class test
    {
// How can i call example or example2 from here.
    }
</code></pre>

<p>Thanks,</p>

<p>Lakshmanan </p>
