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

Developer

Forums

Forums:

Is there a way to safely use ISHELL_GetClassItemID and still have it properly run on a pre-BREW 2.1 client? I mean, I just don't know what ISHELL_GetClassItemID will do on a pre-BREW 2.1 phone, so is there also an implemented ISHELL_GetDeviceInfoEx call or something like it? I just need to be compliant with BREW 2.0.

You cannot use it in 2.0.x and earlier versions. If you simply copy your 3.x mod file, that call would resolve to something you don't want.
If you try to build with 2.0.x SDK, it won't build. AEEShell.h doesn't contain its declaration. You may want to create separate build for that version. There may be some other issues with some other new APIs, in case you are using them.
ISHELL_GetDeviceInfoEx() was, back in the days, at very basic level, and it was variously supported by the OEMs (or not supported). I think it only supported retreival of the chipset. ISHELL_GetDeviceInfo() would return similar parameters as in 3.x (AEEDeviceInfo struct). It was not very well supported by all OEMs. There is a dwPlatformID of the device there, but again, you probaby don't want to run your 3.x on 2.0.x.

You cannot use it in 2.0.x and earlier versions. If you simply copy your 3.x mod file, that call would resolve to something you don't want.
If you try to build with 2.0.x SDK, it won't build. AEEShell.h doesn't contain its declaration. You may want to create separate build for that version. There may be some other issues with some other new APIs, in case you are using them.
ISHELL_GetDeviceInfoEx() was, back in the days, at very basic level, and it was variously supported by the OEMs (or not supported). I think it only supported retreival of the chipset. ISHELL_GetDeviceInfo() would return similar parameters as in 3.x (AEEDeviceInfo struct). It was not very well supported by all OEMs. There is a dwPlatformID of the device there, but again, you probaby don't want to run your 3.x on 2.0.x.