public static String buildAction ( Class < ? > clazz , String action ) { return new StringBuilder ( ) . append ( clazz . getCanonicalName ( ) ) . append ( "." ) . append ( action ) . toString ( ) ; }
Build a custom intent action name like jp . co . nohana . amalgam . Sample . ACTION_SAMPLE .