support own resource in acitivity plugin