I have a working Mobile app in C#. I also have a working web service which the Mobile app accesses for retrieving data.
Now, I need to add the ability to auto update (make changes to the app, post only changed files on the web server, the next time devices run they will download the new files for their version and update their version number) to the application. I already have desktop app that does that and I can copy and modify that code. This is what I need help/advice with:
At the moment I am developing for Orange SPV M3100 with Windows Mobile 5.0. No problem. In future, however, the auto update should take into consideration that:
1. New devices (not even on the market now!) will be introduced.
2. The new devices may have Windows Mobile 5.0, 6.0, 7.0, x.0
So, my auto update will have to work for, for example:
Orange SPV M3100 with WM 5.0
Orange SPV M3100 with WM 6.0
Orange SPV M3100 with WM x.0
Unknown Device with WM 6.0
Unknown Device with WM 7.0
Unknown Device with WM x.0
Having thought about this, I would like not to have to modify the mobile app code when a new OS version or device is introduced. I thought that calling a single web method AutoUpdateDevice(int osVersionMajor, string mobileAppVersion) would work. I could determine at the web service end if there are new files for given OS version with a given app version. I am having trouble figuring out how to detrermine what device I am dealing with. Is it possible to extract device info. for example, "Orange SPV M3100" with C# code and pass that to the web service? If not, can anyone think of a better way to do this.
A related Q is that I haven't tried any device other than Orange SPV M3100, how incompatible are the devices on the market are? I mean, if I run my current code with 10 other devices, are they likely to fail or succeed? OS versions are usually backward compatible I believe, so it shouldn't be a problem.
Sorry about the long explanation.
Thanks
H
Start Free Trial