While developing a sample android application i have constructed two activities 1)Activity 1 2)Activity 2
Now Activity 2 is the foreground activity whereas Activity
Does the platform maintain any history entry when pressed home key?
Yes. Activities when launched/finished are pushed/pop'd onto/from a History Stack.
How do we take the user to the last launch activity on relaunching the application?
AFAICT, that should be the default behavior. When you relaunch your application you are taken to the last Activity on the stack unless you alter the stack.
Read this for details: Application Fundamentals - Activities and Tasks