public int getIcon() {
        String iconPath = actionOptionsJSON.optString("icon");

        // Get icon from the app resources or system resources
        int resId = new AssetUtil(context).getResourceId(iconPath, AssetUtil.RESOURCE_TYPE_DRAWABLE);

        // Fallback, nothing found
        if (resId == 0) resId = android.R.drawable.screen_background_dark;

        return resId;
    }
Gets the icon for the action.
src/android/action/Action.java