I'm trying to build an application that runs both on Series 60 1.x and Series 60 2.x handsets. When it runs on the 2.x handsets, I want it to use certain features present in 2.x that are not present in 1.x, such as RHttpSession.
How can I determine whether my app is running on 2.x or 1.x?
I have tried using User::Version, SysUtil::GetSW, PlpVariant::Version, and SysUtil::GetSWVersion. However, on the 2.1 emulator, these always return 1.x values, or no value at all. This makes it difficult to determine whether the app will run properly on the handsets.