I followed instructions as found in safe-apk-update thread and everything works ok.
Then I read a more recent thread about file sharing which makes use of a slighthly different approach.
So the question is: should I stay with original code or should I adapt the newer one to my needs?
My goal is to download a file, save to a safe temporary location then use it in an intent to call for an apk update operation.