Created
June 28, 2018 02:35
-
-
Save hwshim0810/43a323af4e4ef7860a99e2949ab6217d to your computer and use it in GitHub Desktop.
Get launch class name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Context context = getContext(); | |
context.getPackageManager().getLaunchIntentForPackage(context.getPackageName()).getComponent().getClassName(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment