Best way would be to work with fragments. Add the drawer to your MainActivity extends FragmentActivity
. Then add and remove fragments instead of switching activities.
Also, there's no need to use SlidingMenu anymore, Google added their own implementation, called NavigationDrawer to the Support Library. See http://developer.android.com/training/implementing-navigation/nav-drawer.html