I have one activity in one application, which is supposed to run another activity in another application, while passing to it an arguments|(Through putExtra
)
The problem is that I know that I must add something like:
Intent i = new Intent(target);
i.setAction("actionstring" + System.currentTimeMillis());
to the target intent(activity) so the system wont override the Extra's and ill get diffrent extra's each time i run the target activity.
But when i add the setAction i get an error:
couldnt find activity: No Activity found to handle Intent { action=actionstring1278829343752 flags=0x10000000 (has extras) }
Any idea how could I solve it with setAction
? maybe something I have to add also to the manifest?