I am using the following code to move to another Activity :
Intent intent = new Intent();
String test = "Navigate";
intent.setClassName(this.context,test);
intent.putExtra("params", params);
((Activity) context).startActivity(intent);
But I am unable to start the Navigate Activity. No exception is thrown.
For the same, the folowing code works fine:
Intent intent = new Intent(this.context,Navigate.class);
intent.putExtra("params", params);
((Activity) context).startActivity(intent);
Please tell me if any work around.
You need the full classname, including the package:
(And the Activity defined in the Manifest, but as you can start it with
Navigate.classI assume you have already done this).