Upload updates from a server

  • Thread starter Thread starter chad
  • Start date Start date
C

chad

I have a Mobile application that is used on a PDA phone and would like
to be able to do updates when the user logs-in over the phone. I can
send XML text strings to the application. I can also tell the user to
go to the server and install the new update but i would like to do an
auto update.


Can someone give an idea?
 
I've implement such feature and here is the simplified summary about how it
works :

On the server side, I create a Web Service among a sql DB in which I store
cab files. Each cab file embed only one application file (exe or dll
assembly and its localized resources). The web service provides an admin API
to manage the "repository" and also an client API the PDA call to detecte if
there is newer versions. Since Web Services was quite slow on PPC 2003 + CF
1.0 (the project has been built for a while), I also provide an http handler
that the client apps can call in order to download each required cab files.

When all cab files are downloaded correctly, I run a "bootstrapper"
application that will call the wceload.exe application on the device to
install the files. I need to call a bootstrapper application because the app
cannot update itself.

Hope that helps
Steve
 
Back
Top