I’m new to Android app development and Java in general. I have been watching some tutorials but decided it was time to start doing something on my own. I’m trying to make a fat caliper calculator where I insert all the info in one activity, calculate it and then pass the results on to another activity for displaying it. For some reason I’m getting a force close every time I hit the calculate button and I’m not sure what’s causing it or which activity.
Here’s the code:
Can you see what’s causing the force closes?
Thanks.
The problem is you are starting display Activity but not passing bundle to the Display Activity.
Change your code like this when you are starting Display Activity.