Hi,
Yes that is possible. One way of starting a new activity is (Below
example is from a class that extends Instrumentation, that can be
invoked from a test case):
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setClassName(getTargetContext(),
"com.android.phone.Dialer");
Activity activity = startActivitySync(intent);
/Renas
On Apr 11, 1:57 pm, ricardo flora <
ricardofl...@gmail.com> wrote:
> Hi Renas
>
> It's possible to call an activity inside the test , I have a application
> that when a I tap a button called other activity , how to do programing this
> ?
>
> Thanks
>
> Ricardo.
>
> 2011/4/11 Renas Reda <
renasr...@gmail.com>