I want to check version my application then if new version is available ,download this new file and then uninstall old version and install new version. i have a web service witch hosted a 'json' file witch contain version and download path. until now ,i successfully download json and read the version and download path.and i used this link to do it. but i have problem with this code because during download new version a Chooser piker appears with ask me to choose an application with alert title "complete action using" . now after reading this link, i have couple of questions: 1)I'm doubted that did i used correct method or not ? 2) which method should i use? is my application download link a service or not ? 3)after download the new version how can i delete current version and install new version ?
I will appreciate if anyone help me .i worked on this matter for a week and i do not succeed.