Implement an auto update system

2 Comments

Auto update is widely used in modern software development. It simplifies and speeds up product upgrade to enhance features and fix problems. I have been working on an application which is still in alpha version and testers need to update it incrementally and frequently. The testers are not computer professionals, so I have to make the update process as easy as possible. Below is the basic design and code. The toolkit that’s being used is QT 4.5. But the concept is universal.

To design such system, the following steps are considered:

  1. A server that contains the latest version and a list of updated files.
  2. The application should connect to the server to retrieve the list and compare the versions.
  3. If there is a new version, download the updated files to replace the new ones.
  4. Clean up.

Let’s work on it step-by-step. To save space, I will only post relevant code:
Read on …

Pages: 1 2 3 4

Filed under: How-To, Programming

Argus C3 “The Brick”

No Comments

I got this guy on eBay for 99¢. But it was really dirty. I had to spend couple hours taking it apart and cleaning it. The good thing was that the design of this camera is really simple, that’s what made it durable.

IMG_0365
Read on …

Filed under: Hardware

Pentax Spotmatic SP II

No Comments

I found this fella on a local classified, $75. What a steal! The body is Pentax Spotmatic SPII with Super-Multi-Coated Takumar 50mm f1.4. The lens itself is worth more than $75.

IMG_0343
Read on …

Filed under: Hardware
Page 5 of 7« First...34567