What about just closing the "tabbar at the top"- Activity with finish()
. Your homescreen is right under if you did not finish()
it. This is IMHO the most basic way to navigate in Android.
Another way is from your "tabbar at the top"- Activity you could do this
Intent intent = new Intent(this,homescreen.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
This should kill your "tabbar at the top"- Activity and start homescreen activity if it's not started. If it's started it will pop up