We'd like to create a single .sis file that contains code for both Series 60 1.x and 2.x, and takes advantage of the best HTTP connection and IAP controls available on both. For 2.x this means using the RConnection class, and linking against http.lib, which doesn't exist under 1.x.
What's the best way to do this? We have a factory class that provides either the Series60_1x implmentation of our network code or the Series60_2x implementation depending on which platform the code is running on. We determine this using
However, what we find is that when the application is launched on a Series 60 1.x device (3650), it immediately exits with a system error. The factory class is not yet run. It appears that because the application is linked against the Series 60 2.x libraries, it simply will not run on a 1.x device.
Should we create two separate .sis files, one for 1.x and one for 2.x, combine them into one master .sis file, and install the proper one depending on which plaform we're installing onto? How can we reliably determine that at install time?
Thanks in advance for your help...