Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

As you know,in BREW, the App name,Author name, version,etc, is storded in the MIF file. And IShell provided three API for got such info:
ISHELL_GetAppAuthor()
ISHELL_GetAppCopyright()
ISHELL_GetAppVersion()

BUT, these three APIs only can got the running Apps(current Running or Topvisabel)' Info. BUT How to got the un-running Apps' info??

Right, BREW Also provide some Res-ID for retrieving such info directly from MIF resource file, they are :

#define APPR_NAME(ai) (uint16)(((ai).wIDBase + IDR_NAME_OFFSET))
#define APPR_ICON(ai) (uint16)(((ai).wIDBase + IDR_ICON_OFFSET))
#define APPR_IMAGE(ai) (uint16)(((ai).wIDBase + IDR_IMAGE_OFFSET))
#define APPR_THUMB(ai) (uint16)(((ai).wIDBase + IDR_THUMB_OFFSET))
#define APPR_SETTINGS(ai) (uint16)(((ai).wIDBase + IDR_SETTINGS_OFFSET))
#define APPR_VERSION(ai) (uint16)(((ai).wIDBase + IDR_VERSION_OFFSET))
#define APPR_ENVIRONMENT(ai) (uint16)(((ai).wIDBase + IDR_ENVIRONMENT_OFFSET))

BUT, I find only APPR_Name,APPR_ICON,APPR_IMAGE,APPR_THUMB works ok, that is, App can use them to Load the related info from MIF file, such as :

if (cls && ISHELL_QueryClass(pIShell, cls, &ai))
ISHELL_LoadResString(pIShell, ai.pszMIF, APPR_NAME(ai), pi->wszName, sizeof(pi->wszName));

BUT for APPR_VERSION, it works abnormally, can not got the Apps version. actually, i find the Authorname,AppVersion,Copyright in MIF resource file has the fixed RES-ID,that is, 6,7,8, nothing related to ai.wIDBase.

Then, How to Got the Apps(which are not running)' Authorname, AppVersion, Copyright in BREW3.1.5??

Thanks a lot

I think APIs to work on this purpose are not publicly available.
There are some Qualcomm proprietary APIs...available to some licensed users and OEM vendors.

I think APIs to work on this purpose are not publicly available.
There are some Qualcomm proprietary APIs...available to some licensed users and OEM vendors.