Friends, I am trying to clear the application using this code,
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
startActivity(intent);
But sometimes, I find the app is still consuming the RAM, any better way to free the RAM.