code: public static String getTopActivityClassName(Context context) {
  		ComponentName activity = getTopActivity(context);
  		if (activity == null) {
  			return null;
  		}
  		return activity.getClassName();
  	}
docs: Returns Class name of top activity
  @param context Context to provide activity information
  @return String representing class name of top activity