code: public static void register(Context context, int id) {
          register(context, context.getResources().getResourceName(id));
      }
docs: Resolve ids for given id in each package (android and application) and then call {@link #register(int, int)}