How do I start new activity from an activity. I want to start a new activity from on click listener. Basically, I have a class that extends "Activity" and I would like to call its onClick method but I do not have a Bundle object available.
Thanks a lot for your reply. Now I am getting following error although I have added activity to my manifest file.
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.imad.futureValue/FutureValueFunction}; have you declared this activity in your AndroidManifest.xml?
Here is my manifest file. Future Value is actually started by payment function.
A few things :
1. Use code tags when posting code, it improves readability.(You can use the Edit Button)
2. Note that only one of the activity should be having :
in their intent filter, other wise you will see two different icons for your application in the Launcher menu.
3. Can you also post the code you used to start the new Activity?