Hello i wan't to keep home activity name for launch it from my app.
I know we can launch the launcher without know is package name but. I'm making a custom home and i will set it as default so this will launch my custom home.
I wan't to keep the launcher activity name on a shared preference the first time i launch my custom home and then i will be able to go on the default home from my personal home(without delete my home preference i will keep it as default and launch default home just for some debug test)
Don't know if i'm clear; i have difficult to understood myself in this subject so for resume I need at the first launch of my activity get the name of the default launcher(because it's not com.android.launcher for every device) and keep it to be able to launch it after some time
Any idea?