Regarding ISHELL_LoadImage | developer.brewmp.com Regarding ISHELL_LoadImage | developer.brewmp.com

Developer

Regarding ISHELL_LoadImage

Forums:

Hi all

Regarding
ISHELL_LoadImage(pBSE->a.m_pIShell,".\\images\\iconctrl_science.png");
which returns Null Pointer

I have stored the .png in the subfolder (ie images) of the application folder.

Please can anybody help me..

Awaiting for reply,

Thanks in advance,

In BREW file path separator is single forward slash, so the right path would be
/images/iconctrl_science.png

In BREW file path separator is single forward slash, so the right path would be
/images/iconctrl_science.png

Hi Ruben
Thanks for your reply..
Double backward slash also works in brew..The problem now I am facing is my code is running on another machine but not on mine machine..
Can you suggest something why this is happening
Thanks in advance,

Hi Ruben
Thanks for your reply..
Double backward slash also works in brew..The problem now I am facing is my code is running on another machine but not on mine machine..
Can you suggest something why this is happening
Thanks in advance,

I also have the same problem .... can any bode reply how to load image through path....
code is here :
ISHELL_LoadImage(pData->piShell, "./images/characters/list1_thumb.png");
images folder is in brew application folder. it return null.

I also have the same problem .... can any bode reply how to load image through path....
code is here :
ISHELL_LoadImage(pData->piShell, "./images/characters/list1_thumb.png");
images folder is in brew application folder. it return null.

Did you try with full path like AEEFS_HOME_DIR"\images\iconctrl_science.png"?
"fs:/~/" (AEEFS_HOME_DIR): this is a shortcut that denotes the
currently running application's directory. It is mapped
to "fs:/mod/" where is the module ID of
the currently running application.

Did you try with full path like AEEFS_HOME_DIR"\images\iconctrl_science.png"?
"fs:/~/" (AEEFS_HOME_DIR): this is a shortcut that denotes the
currently running application's directory. It is mapped
to "fs:/mod/" where is the module ID of
the currently running application.