Source code for this example can be found here.
To use icons, do the following:
fap_icon_assets="folder"
, where folder
points to the folder where your icons are located#include "application_id_icons.h"
to the application code, where application_id
is the appid from the manifestI_icon_name
variable, where icon_name
is the name of the icon file without the extensionWe have an application with the following manifest:
So the icons are in the images
folder and will be available in the generated example_images_icons.h
file.
The example code is located in example_images_main.c
and contains the following line:
Image dolphin_71x25.png
is available as I_dolphin_71x25
.