I am new to android and stuck up with an issue.
I want to know how to force close the application programmatically and restart it again. I am trying this because i a
Restarting the app to avoid or repair OutOfMemoryExceptions is a very bad idea. You should start to work on your memory issue itself instead of just do weird things when they occur.
You should heal the disease instead of medicate the symptoms.