|
-
May 15th, 2012, 08:15 AM
#1
Thread Starter
Frenzied Member
Difference between Pocket PC 2003 and WM 6.5 runtime?
Hi!
The backgrond is this. Our customer moved one of their mobile apps from pockt pc 2003 to WM 6.5 a while back. The move semed fine and the app was up and running within hours. Yesterday I got a call from them where they are almost in panic, telling me that the application doesn't do automatic update as it usually does. It seems as if thre is a built in method that upon start checks server in an xml file if there is a new vesion, and if it is, it downloads it from an ftp site, moves it to the device /temp file, then it DELETES the application exe file, and move the new version from /temp to application/app
I checked the code and it really does this. The problem now is that the code throws an exception when trying to delete the app (like in windows an app can't delete itself). What puzzles me is how this could wok on the old pocket pc platform? Does that platform run apps differently, so it IS possible to delete the app? In the code, they reboot the device twice, first a hardreset, then a softreset.
I feel as if the new platform works different... but I have no idea really, as I have never worked with pocketpc.
Anyone has ideas about this? The client was not so happy when I told them (after checking the code) that they probably have to redesign the entire automatic updating module. Apparently they never bothered to test this on the new platform... they just assumed it would work.
/Henrik
-
May 20th, 2012, 01:24 PM
#2
Frenzied Member
Re: Difference between Pocket PC 2003 and WM 6.5 runtime?
Hi,
it sounds as though the application is still running when the updater tries to update it.
They do a hard reset in code? I don't think you can do a hard reset in code in 6.5 - they have leaped about 4 release of OS - a lot of things stayed the same - a lot of things didn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|